[wellylug] stupid regexp question

Andrej andrej at paradise.net.nz
Fri Jul 1 21:44:05 NZST 2005


> is there a regexp that represents AND?
>
> I know there's one for OR.
>
> I've looked at this:
> http://www.greenend.org.uk/rjk/2002/06/regexp.html


> and from that I can't seem to construct a magic incantation to
> do what I need.
Like in
(<exp1>.*<exp2>|<exp2>.*<exp1>)
?

Of course you didn't mention what you want to do ;)




More information about the wellylug mailing list