XP is just a number | |
PerlMonks |
Re: Regular expression match trouble with "+"by davorg (Chancellor) |
on Aug 16, 2006 at 14:42 UTC ( [id://567704]=note: print w/replies, xml ) | Need Help?? |
You need \Q...\E which quotes metacharacters in regexes.
See also quotemeta By the way, $a and $b have a special meaning to Perl (because of their use in sorting) so it's a really bad idea to use them for anything else.
-- <http://dave.org.uk> "The first rule of Perl club is you do not talk about
Perl club."
In Section
Seekers of Perl Wisdom
|
|