"be consistent" | |
PerlMonks |
Re: Conditional regexby linuxer (Curate) |
on May 08, 2009 at 21:13 UTC ( [id://762950]=note: print w/replies, xml ) | Need Help?? |
Although nowadays I'd prefer to use HTML::Parser or something similar, I think you could use a subroutine call in the replacement part (and use the /e modifier).
update1: changed quantifier to +?
In Section
Seekers of Perl Wisdom
|
|