Construct the regex pattern for DATE_APPROXIMATED values

reg_date_approximated(flatten = TRUE)

Arguments

flatten

A logical value which determines whether a single regex string should be returned (flatten = TRUE) or if a vector of them should be returned (flatten = FALSE). The vector output is used if the regexes need to be combined with other regexes. If they do not, then they are anchored with ^ and $ and separated with | (OR).

Value

Either a single regex string or a vector of them