Re: [Evolution] Mail filters and regex



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")"]

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 _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.





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