View source: R/parse_dttm_fmt.R
regex_or | R Documentation |
regex_or()
takes a set of patterns and binds them with the Or ("|"
)
pattern for an easy regex of alternative patterns.
regex_or(x, .open = FALSE, .close = FALSE)
x |
A character vector of alternative patterns. |
.open |
Whether the resulting regex should start with |
.close |
Whether the resulting regex should end with |
A character scalar of the resulting regex.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.