pattern: A character string starting with "@" that is a regular expression from a qdapRegex dictionary.
dictionary: A dictionary of canned regular expressions to search within.
Returns
Returns a single string regular expression from one of the qdapRegex dictionaries.
Details
Many R regular expressions contain doubled backslashes that are not used in other regex interpreters. Using cat can remove backslash escapes (see Examples ) or URLencode
if using in a url.
Examples
grab("@rm_white")## Not run:## Throws an errorgrab("@foo")## End(Not run)cat(grab("@pages2"))## Not run:cat(grab("@pages2"), file="clipboard")## End(Not run)