in reply to Re: Unrecognized escape \Q passed through in regex
in thread Unrecognized escape \Q passed through in regex
Should that do what I want ? :-)$regexp =~ s/\\Q(.*?)\\E/quotemeta($1)/eg;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Unrecognized escape \Q passed through in regex
by ikegami (Patriarch) on Jan 26, 2006 at 18:52 UTC | |
by Articuno (Beadle) on Jan 26, 2006 at 19:13 UTC | |
by ikegami (Patriarch) on Jan 26, 2006 at 19:31 UTC | |
by Articuno (Beadle) on Jan 26, 2006 at 19:57 UTC |