Re: [Evolution] Mail filters and regex



On 25 Jun 2001 11:32:45 -0400, Jeffrey Stedfast wrote:
On 25 Jun 2001 09:22:34 -0400, John Affleck wrote:
On Mon, Jun 25, 2001 at 10:28:00PM +0930, Not Zed wrote:
You need (match-all ) around the bare or's.

Use version 2 with (match-all ) around it.  That should work, if not its
a bug, but to work around just use match-all around the or.

I was going to mention that last time, but i wasn't sure if
header-contains operated in a list context.

[snip]

- [sender] [contains] ["jaffleck"] [expression]
        ["(header-contains "Subject" "regression failure"
        "regression covermeter failure")"]

actually, what he meant was:

[sender] [contains] ["jaffleck"] [expression] ["(match-all
(header-contains "Subject" "regression failure" "regression covermeter
failure")"]

With an extra closing ) to make it complete ...

Jeff


Sorry. It's early on a Monday morning and I'm easily confused. I tried
the following combinations:
- [sender] [contains] ["jaffleck"] [expression]
    ["(header-contains "Subject" (match-all "regression failure"
    "regression covermeter failure"))"]
- [sender] [contains] ["jaffleck"] [expression]
    ["(header-contains (match-all "Subject" "regression failure"
    "regression covermeter failure"))"]
- [sender] [contains] ["jaffleck"] [expression]
    ["(match-all (header-contains "Subject" "regression failure"
    "regression covermeter failure"))"]

i.e. this one.

Umm, this is some sor tof bug.

Jeff msg'd me a bunch of stuff that didn't make sense earlier, i need to
talk to him to see what he was on about, but he's gone to sleep.


I _believe_ that the first one is the one you intended, but see above
disclaimer.  None of these seemed to work.  Just for grins, I also
tried # 1 with match-any instead of match all.  No change either.

Well, I'll play around with this a little bit later after some coffee. 
Maybe I'll make more sense then.

    Thanks again,

    John A.


_______________________________________________
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]