Markus Rebensburg wrote:
Hello,
I have a problem with the following sieve-script, running on cyrus 2.1.12:
I want to match against a header containing '*', e.g.: "Subject:
Bla*". RFC 3028 tells me to escape the '*' using two backslashes, so I
used the following sieve-script:
require ["fileinto"];
if header :matches "subject" "Bla\\*" { fileinto "test"; }
Unfortunately it doesn't work, so did I miss something or is it a bug?
It might be a bug, but if you don't need '*' for globbing, why not just use:
:contains "subject" "Bla*"
--
Kenneth Murchison
Project Cyrus Developer/Maintainer
Carnegie Mellon University
----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html