| escapeForGrep | R Documentation |
Escape [, ], (, and ) for use in grep.
escapeForGrep(x)
x |
a character vector |
A character vector with opening and closing square brackets and
parentheses escaped for use in grep.
Samuel Leung
escapeForGrep("[index]")
escapeForGrep("(parentheses)")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.