On 3/7/06, Tom Allison <[EMAIL PROTECTED]> wrote: > $one = 'this (is a) 1/2 measure example'; > > Try and run that through a regex like > > if ( $two =~ /$one/ ) {
I think you're looking for the quotemeta() operator, and its cousin the \Q escape. See perlfunc. Hope this helps! --Tom Phoenix Stonehenge Perl Training -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>