On Sun, Sep 21, 2003 at 08:05:01PM +0200, Martin Stjernholm, Roxen IS @ Pike developers forum wrote:
A decent glue to a regexp engine ought to include a function to quote a string to a regexp that only matches that string, i.e. like str() in
This still doesn't help too much when quoting is necessary. Say, I might have too complex RE (to match mail header, for instance), where I want to use special characters and their literals as well. Double quoting is never good idea, wherever it is, IMHO.
Regards, /Al