D
david.karr
I have some code that expects to receive a regular expression to check
for. This part works fine. I'm now adding code that is trying to set
the regular expression to use, but such that any regular expression
special characters are "quoted" to be treated as regular characters.
What operator or function that takes a string will return the original
string, but with all regexp special characters quoted?
for. This part works fine. I'm now adding code that is trying to set
the regular expression to use, but such that any regular expression
special characters are "quoted" to be treated as regular characters.
What operator or function that takes a string will return the original
string, but with all regexp special characters quoted?