| escapeRegexBracketChars | R Documentation |
Note to escape a ']' using this you'll have to use perl=TRUE in the downstream function
escapeRegexBracketChars(
regexChars,
escapeChars = c("^", "-", "[", "]", "\\")
)
regexChars |
a vector of single characters to escape if in escapeChars |
escapeChars |
a vector of which characters to escape |
a vector of escaped characters
escapeRegexBracketChars(c(']','\\','-','A','B'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.