Lookbehind error

Posted by yklein@recoverycorp.com on 2017-10-17 04:33

In Perl 5.24

I am getting a "Variable length lookbehind not implemented" error in the following one line Perl script:

$patt = qr((?i)(?<!Administ)(?<!A)c);

yet when I run the following I get no error:

$patt = qr((?i)(?<!Abcdefgh)(?<!A)C);

I don't get this error when running Perl 5.8.

This looks a bug. How do I proceed? Does anyone have a workaround?