data(regex_usa)
A list with 54 elements
A dataset containing a list U.S. specific, canned regular expressions for use in various functions within the qdapRegex package.
The following canned regular expressions are included:
"%s"
that is replaced by sprintf
and is not a valid regex on its own"%s"
that is replaced by sprintf
and is not a valid regex on its ownrm_date
, rm_date2
, and rm_date3
"%s"
that is replaced by sprintf
and is not a valid regex on its own"%s"
that is replaced by sprintf
and is not a valid regex on its own""
rm_time
with the additional search for Ante Meridiem/Post Meridiem abbreviations (e.g., AM, p.m., etc.)rm_url
; based on @imme_emosol's response from https://mathiasbynens.be/demo/url-regexrm_url
& rm_url2
though light-weight, making it ideal for validation purposes; taken from @imme_emosol's response found https://mathiasbynens.be/demo/url-regexrm_white_bracket
, rm_white_colon
, rm_white_comma
, rm_white_endmark
, rm_white_lead
, rm_white_trail
, and rm_white_multiple
Use qdapRegex:::examine_regex()
to interactively explore the
regular expressions in regex_usa
. This will provide a browser + console
based break down of each regex in the dictionary.