regexQuote -- escape special characters in regular expressions
Synopsis
Usage:
regexQuote s
Inputs:
s, a string
Outputs:
a string, obtained from s by escaping all of the characters that have special meanings in regular expressions (\, ^, $, ., |, ?, *, +, (, ), [, ], {, and }) with a \.