|
From: Nick C. <ni...@cl...> - 2001-11-26 13:58:18
|
On Mon, Nov 26, 2001 at 05:40:05AM -0800, Nick Cleaton wrote: > > Modified Files: > guestbook.pl > Log Message: > Added \Q \E around variables in regexps where metacharacters in the > variables shouldn't be interpreted by the regex engine. I propose this convention for interpolating variables into regular expressions: metacharacters interpreted: (?:$foo) or ($foo) metacharacters not interpreted: \Q$foo\E Thoughts ? -- Nick |