in reply to Pattern matching when there are exception strings
my $exceptions = qr/_ALPHA|#ALPHA|XL5 ALPHA/; my $keepers = qr/ALPHA|BETA/; print "Matched ($srch)!\n" if grep /$keepers/, split $exceptions, $src +h;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Pattern matching when there are exception strings
by sauoq (Abbot) on Sep 21, 2005 at 13:59 UTC | |
by Moron (Curate) on Sep 22, 2005 at 08:18 UTC |