in reply to RE: Re: THIS not THAT
in thread THIS not THAT
The constant-text-only regex means that Boyer-Moore can kick in sooner, or so says the hints I read about regex a while back.foreach (@diaglist) { next if /Clock/; next if /Switch/; next if /Power/; next if /Process +or/; push @something, $_; }
-- Randal L. Schwartz, Perl hacker
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: RE: Re: THIS not THAT
by extremely (Priest) on Oct 04, 2000 at 01:41 UTC |