laziness, impatience, and hubris | |
PerlMonks |
Re: Apply A Set Of Regexes To A Stringby TedPride (Priest) |
on Oct 11, 2004 at 19:50 UTC ( [id://398265]=note: print w/replies, xml ) | Need Help?? |
You can assign a processed (intepreted? compiled?) regex to a variable and then reuse it as many times as you want. Seems to me that the simplest thing to do would be set up all the regexes in advance and assign each file a list of them to run through. Syntax is as follows:
http://perlmonks.thepen.com/389503.html
In Section
Seekers of Perl Wisdom
|
|