Hi,

a...@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)

_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to