On Fri, Jun 22, 2001 at 04:26:43PM +0200, Aaron Craig wrote:
> $results{$test}++ if($_ =~ /joe/ && $_ !~ /fred/);
Or, more succinctly:
$results{$test}++ if /joe/ && !/fred/;
Michael
--
Administrator www.shoebox.net
Programmer, System Administrator www.gallanttech.com
--
- 2 regex questions Yacketta, Ronald
- Re: 2 regex questions Aaron Craig
- Re: 2 regex questions Chas Owens
- Re: 2 regex questions Michael Fowler
- Re: 2 regex questions Aaron Craig
- RE: 2 regex questions Yacketta, Ronald
- RE: 2 regex questions Wagner-David
- RE: 2 regex questions Chas Owens
