Perl-Sensitive Sunglasses | |
PerlMonks |
Re^2: Regular expression match trouble with "+"by xorl (Deacon) |
on Aug 16, 2006 at 18:33 UTC ( [id://567742]=note: print w/replies, xml ) | Need Help?? |
The OP used /i in the regex so one can assume he wants a case insensitive check. Your script needs either an lc or uc done to both strings before doing the compare. See my code in my previous post. In any event we can all agree that a regex isn't the way to go on this problem.
In Section
Seekers of Perl Wisdom
|
|