Description Usage Arguments Details Value
make_regex escapes special regex characters in a string. The function
addresses the grouping characters (parentheses, brackets, and hyphens),
matching for the beginning and end of a string ("^" and "$"), regex
for number of repetitions, as well as the dot "." character.
| 1 | make_regex(s)
 | 
| s | The string to convert to regex | 
The function assumes that the string passed to the function needs to found as-is. That is, the string is not indicative of any regex pattern matching.
A string with special characters escaped
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.