info-gnus-english
[Top][All Lists]
Advanced

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

Re: fancy mail splitting


From: B.V. Raghav
Subject: Re: fancy mail splitting
Date: Mon, 21 Dec 2015 10:18:14 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Hi,

asjo@koldfront.dk (Adam Sjøgren) writes:

>   Hi,
>
>
> I usually create my fancy mail splitting rules by trial and error -
> Emacs' regexps are kind of toothpicky when you are used to Perl...
>
> Here is my problem:
>
> I want to have emails with Subject starting with "[git/adm]" to go to
> one group, but emails with the Subject starting with "Re: [git/adm]" to
> another.
>
> To match "[git/adm]" I can only get this to work:
>
>         ("Subject" ".*\\[git/adm\\].*" "commits.adm")
          How about trying "^\\[git/adm\\].*" vs "^Re: \\[git/adm\\].*"
          I have myself not tried it. But I think the regexp should work!

>
> If I remove either ".*", it doesn't match them.
>
> I can't figure out how to make this _not_ match Subjects prefixed with
> "Re: " (or anything else, for that matter).
>
> I tried tacking on "nil nil" and "nil t" to the rule as well, without
> hitting the jackpot. I am lost.
>
> Any ideas?
>
>
>   Thanks!
>
>    Adam

-- 
(B.V. Raghav)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]