Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Problem with pre-compiled regexby saranrsm (Acolyte) |
on Jan 17, 2012 at 14:07 UTC ( [id://948323]=perlquestion: print w/replies, xml ) | Need Help?? |
saranrsm has asked for the wisdom of the Perl Monks concerning the following question: Dear Monks Problem: Im trying to pre-compile a couple of patterns (Regular expression) and match it into the given text. Done so far: I have tried doing this without pre-compiled regex, which work perfectly
Stuck with: Now when I wanted to pre-compile these patterns (have, regex) and match with $text, I don't get the expected result. I have posted the script which doesn't work, below.
Back to
Seekers of Perl Wisdom
|
|