Lev Serebryakov
2014-09-13 12:08:05 UTC
I've tried to use negative look-ahead in :regex match like this:
if header :regex "List-Id" "<svn-([^-]+)-(?!all)([^.]+)\.freebsd\.org>"
{ ... }
and manage-sieve server complains on save about such regex with
diagnostic "repetition operator operand invalid" :(
- --
Black Lion AKA Lev Serebryakov
if header :regex "List-Id" "<svn-([^-]+)-(?!all)([^.]+)\.freebsd\.org>"
{ ... }
and manage-sieve server complains on save about such regex with
diagnostic "repetition operator operand invalid" :(
- --
Black Lion AKA Lev Serebryakov