是吗,这到没有用过,据说是支持 Perl 5 正则语法的。按道理说应该可以的啊,ORO 还特别说明了,真奇怪。The Perl5 syntax demonstrated is Perl 5.003 compatible as of version 2.0.2. Remember, Perl5 compatibility means that zero-width lookahead assertions, greed control, backreferences, and other features are supported.
Perl5 compatibility means that zero-width lookahead assertions, greed control,
backreferences, and other features are supported.
你可以去看看
zero-width lookahead assertions这个是前看零宽断言吧...是"?="的那种吧?难道不支持后看的?
所以 ORO 也没实现。你要做什么?把要求说说,不用 lookbehind assertion 看看能否改一下。