At 08:14 22.06.2001 -0800, Michael Fowler wrote:
>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/;
I'm still trying to get my brain used to Perlese. :)
Aaron Craig
Programming
iSoftitler.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
