[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl-AnyPerl] negative lookahead



On Sun, Oct 08, 2000 at 05:31:43PM +0200, allan juul wrote:
> i had hoped that something like
> 
> /select.+?(?!order\s+\by)/
> 
> would have done the trick but this seems naive?

You were very close:

/select(?!.+order\s+by)/


Ronald

==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-anyperl-request@macperl.org