in reply to Escaping regex characters in user-defined input
Use \Q and \E around the part you want escaped. See perlre for more info
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Escaping regex characters in user-defined input
by moritz (Cardinal) on Aug 24, 2007 at 15:28 UTC | |
by kscript (Novice) on Aug 24, 2007 at 16:47 UTC |