ore.escape {ore} | R Documentation |
Escape characters that would usually be interpreted specially in a regular expression, returning a modified version of the argument. This can be useful when incorporating a general-purpose string into a larger regex.
ore.escape(text)
text |
A character vector. |
A modified version of the argument, with special characters escaped by prefixing them with a backslash.