Gnus development mailing list
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: ding@gnus.org
Subject: Re: regexp for nnmail-split-methods
Date: Mon, 03 Nov 2008 16:04:44 -0600	[thread overview]
Message-ID: <861vxswjnn.fsf@lifelogs.com> (raw)
In-Reply-To: <87myggv5pd.fsf@gmail.com>

On Mon, 03 Nov 2008 21:51:26 +0000 Rupert Swarbrick <rswarbrick@googlemail.com> wrote: 

RS> Reiner Steib <reinersteib+gmane@imap.cc> writes:
>> How about this?
>> 
>> (setq nnmail-split-methods
>> '(("nnml:mail.foo" "^From:.*foo@domain\\.com")
>> ("nnml:mail.others" "^From:.*[^f][^o][^o]@domain\\.com")
>> ("nnml:mail.inbox" "")))

RS> Hmm, except to which inbox should something from barfoo@domain.com go?
RS> (Not that I've managed to think of a solution!)

You should really consider fancy split methods, they can do this easily
without torturing regular expressions.

Ted




  reply	other threads:[~2008-11-03 22:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-03 17:56 Seweryn Kokot
2008-11-03 19:48 ` Reiner Steib
2008-11-03 21:51   ` Rupert Swarbrick
2008-11-03 22:04     ` Ted Zlatanov [this message]
2008-11-04 20:29       ` Seweryn Kokot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=861vxswjnn.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).