songahji has asked for the wisdom of the Perl Monks concerning the following question:
Please let me know that there is better way to do it !foreach (@files) { process_file ($_) if /(?:(?:foo[34])|(?:bar[12]))\.txt/io }
Cheers,
Hanny J
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Regex Tuning
by Roy Johnson (Monsignor) on Apr 28, 2005 at 14:59 UTC | |
|
Re: Regex Tuning
by salva (Canon) on Apr 28, 2005 at 15:12 UTC | |
| |
|
Re: Regex Tuning /(?:(?:foo[34])|(?:bar[12]))\.txt/io
by demerphq (Chancellor) on Apr 28, 2005 at 17:14 UTC | |
|
Re: Regex Tuning
by Jaap (Curate) on Apr 28, 2005 at 14:56 UTC | |
by strictvars (Sexton) on Apr 28, 2005 at 15:00 UTC | |
by Roy Johnson (Monsignor) on Apr 28, 2005 at 15:17 UTC | |
|
Re: Regex Tuning /(?:(?:foo[34])|(?:bar[12]))\.txt/io
by TedPride (Priest) on Apr 28, 2005 at 17:30 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |