Using a backslash in any regular expression is problematic - since it has such a strong meaning. Usually using two \\ in a row is the proper way to signify a literal \, but not with every language. Did you try using just a single \ there at the end? May be if the character after it has no special meaning when escaped by \ it will interpret the \ as literal.
Unfortunately the regular expression page in MSDN is no help. It doesn't even mention using \ to escape characters which have meaning into regular characters.
It also may be that escaping the quote with \ is unnecessary with a character class (i.e. the [ ] ), so it is already picking up the \ from there. Guess I can try to do some experimenting...
Meddle not in the affairs of dragons,
for you are crunchy, and good with mustard.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.