|
|
| The stupid question is the question not asked | |
| PerlMonks |
RE: Re: matching an array of alternatesby Zoogie (Curate) |
| on Jun 23, 2000 at 19:54 UTC ( [id://19652]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Just wanted to point out that if the file you're searching has a lot of lines, you can gain some speed by adding the "o" option to the regex; i.e.:
This way, the regular expression only has to be compiled once. - Zoogie
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||