[wellylug] stupid regexp question
Jamie Baddeley
wellylug at vpc.co.nz
Fri Jul 1 21:49:18 NZST 2005
ps -ef | grep ssh AND apache
or similar.
I suspect what I want is not simple string matching as some buffering is
required.
jamie
On Fri, 2005-07-01 at 21:42 +1200, Grant McLean wrote:
> On Fri, 2005-07-01 at 21:37 +1200, Jamie Baddeley wrote:
> > is there a regexp that represents AND?
> >
> > I know there's one for OR.
>
> AND is kind of implicit in all regexes
>
> for example /ab/ matches a string which contains an 'a' AND a 'b'
> immediately after it.
>
> Perhaps you could tell us more about what you're trying to do.
>
> Regards
> Grant
>
More information about the wellylug
mailing list