You are correct Pedro, the curly-braces solution does work. I will integrate the solution, I leave it to you guys to determine if a bug should be opened and with whom.

On 2018-08-31 15:01, Pedro David Marco wrote:
It works with Perl 5.14.2 but not with 5.20.2

It seems that Perl preprocessor does something with repeated chars before the regex engine that makes it consider it wrongly

if i change ss for s{2} like this:
body            __Z_NEGATIVE_LOOKBEHIND  /(?<!s{2}) text/i

then it works

try it Olivier and let us know..

---
PedroD

Reply via email to