13 Sep
2014
13 Sep
'14
4:11 p.m.
On 9/13/2014 2:08 PM, Lev Serebryakov wrote:
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" :(
https://tools.ietf.org/html/draft-murchison-sieve-regex-08#section-3
Regards,
Stephan.