my $exceptions = qr/_ALPHA|#ALPHA|XL5 ALPHA/; my $keepers = qr/ALPHA|BETA/; print "Matched ($srch)!\n" if grep /$keepers/, split $exceptions, $src +h;
In reply to Re: Pattern matching when there are exception strings
by Roy Johnson
in thread Pattern matching when there are exception strings
by Moron
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |