![]() |
|
good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Pattern matching when there are exception stringsby tomazos (Deacon) |
on Sep 21, 2005 at 14:54 UTC ( #493818=note: print w/replies, xml ) | Need Help?? |
This is the combination of japhy's solution with mine reposted here for completeness:
$total_rx will only match a non-exceptional ALPHA, without modifying the string your searching on, and it doesn't forget any weird cases. It is a thing of beauty. :) Enjoy, -Andrew.
In Section
Seekers of Perl Wisdom
|
|