months_abb_regex()
generates a regex that matches month abbreviations. For
finer control, the case can be specified with parameter case
.
months_abb_regex(x = month.abb, case = c("any", "upper", "lower", "title"))
A regex as a string.
A character vector of three-letter month abbreviations. Default is
month.abb
.
A string scalar: "any"
, if month abbreviations are to be
matched in any case; "upper"
, to match uppercase abbreviations;
"lower"
, to match lowercase; and, "title"
to match title case.