BUT NOT THE QUOTESince a quote is not special regexp character, it doesn't need escaping. If a quote gives you a problem, you have to look elsewhere than trying to escape it in the regexp: that's not the problem.
From the snippit you give us, I cannot determine where a quote makes a difference. Or is the given quote a different quote than you are matching against? (Someone gives you a "smart" quote for instance, which you're trying to match against an ASCII quote?)
In reply to Re: Not matching a single quote (apostrophe!)
by JavaFan
in thread Not matching a single quote (apostrophe!)
by puddleglum
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |