View source: R/parse_dttm_fmt.R
reg_matches | R Documentation |
regmatches()
with NA
reg_matches()
is a thin wrapper around regmatches()
that returns
NA
instead of character(0)
when matching fails.
reg_matches(x, m, invert = FALSE)
x |
A character vector. |
m |
An object with match data. |
invert |
A logical scalar. If |
A list of character vectors with the matched substrings, or NA
if
matching failed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.