I wrote a rule that throws a /variable length lookbehind/ error where
the lookbehind is fixed length. Here is a MWE:
body __Z_NEGATIVE_LOOKBEHIND /(?<!ss) text/i
spamassassin --siteconfigpath=${HOME}/sa-rules/ --lint
aoû 31 09:53:45.343 [9074] warn: config: invalid regexp for rule
__Z_NEGATIVE_LOOKBEHIND: /(?<!ss) text/i: Variable length lookbehind not
implemented in regex m/(?i)(?<!ss) text/
The error goes away if I remove the case insensitive, or if I put a
character between the two /s/ characters. Using /nn/ instead of /ss/
makes the error go away. The error stays if I add characters before or
after the /ss/. Is there a special non-text signification to the
characters /ss/? Here is my config:
SpamAssassin version 3.4.1
running on Perl version 5.22.1