> [Negative matching]

> a generic negative, multi-byte string matching mechanism. Any thoughts? 
> Am I missing something already present or otherwise obvious?

Maybe I'm misundertanding the question, but I think you want negative
lookahead:

Perl 5:   /(.*)(?!>union)/
Perl 6:   /(.*) <!before: union>/

Luke

Reply via email to