On 5/2/06, Yakov Lerner <[EMAIL PROTECTED]> wrote:
Pattern
   /\i\+\(ion\)\@<!\>/
matches words that do not end with 'ion'

Two more ways to match words not ending with 'ion':

2)  This pattern also matches words not not ending with 'ion':

   \<\(\w*ion\>\)[EMAIL PROTECTED]

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\)\>

Tricky

Yakov

Reply via email to