Escape Strings From Parsing
Escape literal beginning at (@) strings from qdapRegex parsing.
A character string that should not be parsed.
Many qdapRegex functions parse
beginning with an at character (@) and comparing against the default and
regex_supplement) dictionaries. This
means that a string such as "@before_" will be returned as
"\\w+?(?= ((%s|%s)\\b))". If the user wanted to use a regular
expression that was literally "@before_" the
escape function classes
the character string and tells the qdapRegex functions not to parse it
(i.e., keep it as a literal string).
Returns a character vector of the class "escape" and "character".
1 2 3 4 5 6
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.