in reply to THIS not THAT
print if /^SLOT/ && !(/Switch|Power|Clock|Processor/);
In one regex (ugly and not optimized and with more question marks than is healthy:
print if /^SLOT .*?: (?!(?:Clock|Switch|.*?Power|.*?Processor))/;
I'd go with the first.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: THIS not THAT
by Limo (Scribe) on Oct 03, 2000 at 08:33 UTC | |
by merlyn (Sage) on Oct 03, 2000 at 09:07 UTC | |
by extremely (Priest) on Oct 04, 2000 at 01:41 UTC |