Problems? Is your data what you think it is? | |
PerlMonks |
Re^2: regex troubleby dewey (Pilgrim) |
on May 30, 2007 at 16:43 UTC ( [id://618240]=note: print w/replies, xml ) | Need Help?? |
I just discovered quotemeta as a result of the recent functional functions node, so I'm pleased to see it in use here. I have a question about your solution, though. When I print "$pattern\n", I get To me, it's odd that this works correctly with the comma, colon, and chevron escaped. I'll go look at perlre, but why doesn't it matter that these are escaped? ~dewey
In Section
Seekers of Perl Wisdom
|
|