reg_date_period: Construct the regex pattern for DATE_PERIOD values

View source: R/regex_patterns.R

reg_date_periodR Documentation

Construct the regex pattern for DATE_PERIOD values

Description

Construct the regex pattern for DATE_PERIOD values

Usage

reg_date_period(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


jl5000/tidyged.internals documentation built on Aug. 21, 2022, 8:32 p.m.