On Thu, May 04, 2006 at 08:56:41AM +0300, Yakov Lerner wrote:
> 3) The 'old' way. That's what I'd use before the \@ stuff to match
> words not ending with 'ion':
> 
>    /\<\(\w*[^n]\|\w*[^o]n\|\w*[^i]on\)\>

Not much fun if you want to match all words not ending in "ification". :-)
This is where negative lookahead and negative lookbehind really come into
their own.

-- 
Matthew Winn ([EMAIL PROTECTED])

Reply via email to