In message <[EMAIL PROTECTED]>, "Ranjeet G anguli" writes: >I have to use a lookbebind pattern like (?!foo)bar i.e., match 'bar' not >preceded by 'foo'. I understand that Perl5 does not allow that but Perl8 >does (please correct me if I am wrong !) . Can anyone please let me know if >there is a workaround for such a case. Also is it likely that OroMatcher >will support Perl8 syntax in the near future ?
Perl 5.003 doesn't have zero-width lookbehind assertions, so neither does jakarta-oro at the moment, but it should definitely before the end of the year. Lookbehind assertions were introduced in Perl 5.005. However, what you are describing, (?!regexp), is a zero-width negative lookahead assertion. jakarta-oro implements both zero-width negative and positive lookahead assertions. daniel