Description Usage Arguments Methods (by class)
Escape characters for a regex
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
x |
Object to escape. |
regex
: Objects are simply passed through unchanged.
character_class
: Objects are surrounded by braces.
character
: Objects are properly escaped for regular expressions.
default
: default escape coerces to character and escapes.
list
: simply call escape on all elements of the list.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.