Hi, no, there is no direct negative match support (actually, there has been one, but it was removed).
What you can do is just use the positive matches with additional conditions, e.g., something like: Person ANY{-STARTSWITH(Org)}; // additional rule element Person{-NEAR(Org, 0, 4, true)}; // with additional condition Person{-NEAR(Org, 0, 4, false)}; // with additional condition A negative lookahead with an additional rule element is a bit more complicated because of the matching strategy. You could activate dynamic anchoring in order to avoid inefficient matches. Document{-> DYNAMICANCHORING(true)}; ANY{-ENDSWITH(Org)} Person ; // additional rule element I hope this helps. Just let me know if I misinterpreted your question. Best, Peter On 08.05.2013 08:42, armin.weg...@bka.bund.de wrote: > Hello! > > Is there a mechanism like negative look behind or negative look ahead in Ruta? > > Cheers, > Armin