Roundcube Community Forum

 

managesieve: "matches" operator

Started by cbrace, April 14, 2013, 05:45:52 PM

Previous topic - Next topic

cbrace

Hi all,

I have a question about the "matches" operator. How does it differ from "is", "contains", and "regex"? I don't see  "matches" listed on the project page at Github:
Quote'contains' : contains
'notcontains' : does not contain
'is' : is equal to
'notis' : is not equal to
'exists' : exists
'notexists' : does not exist
'regex' : matches regular expression
'notregex' : does not match regular expression
https://github.com/JohnDoh/RoundCube-Plugin-SieveRules-Managesieve

I'm running v5.1 of the plugin under RC v.0.8.6

Thanks


cbrace

Thanks!
QuoteThe ":matches" version specifies a wildcard match using the
   characters "*" and "?".  "*" matches zero or more characters, and "?"
   matches a single character.