Re: [Evolution] Mail filters and regex



On 22 Jun 2001 12:52:17 -0400, Jeffrey Stedfast wrote:
On 22 Jun 2001 09:57:13 -0400, John Affleck wrote:
A long time ago, I seem to remember that it was possible to use regex in
any of the mail filter matching criteria (ie regex match on sender). Is
this still possible ? 

yep, this is still possible.


Also, is there any plan to have slightly more complicated filters - if
SENDER = joe and (SUBJECT = dinner or SUBJECT = lunch) for example. I'd
be just as happy entering some XML or something if it's the GUI that's
the problem..

Probably not, although from the UI you can select "Expression" and there
you can enter in a complicated expression. Using your example...

[Sender] [contains] [joe]
[Expression] [(or (header-contains "Subject" "dinner") (header-contains
"Subject" "lunch"))]

It is better to use:

(header-contains "Subject" "dinner" "lunch")

Most rules have an implicit "or" capability, just the gui has no way to
do it.


And just set it so that it will only match "if all rules match" will
give you the exact equivalent of your desired expression.

Jeff


_______________________________________________
evolution maillist  -  evolution ximian com
http://lists.ximian.com/mailman/listinfo/evolution






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]