From: Andreas Schwab <schwab@linux-m68k.org>
To: Tassilo Horn <tassilo@member.fsf.org>
Cc: ding@gnus.org
Subject: Re: checking several headers when splitting mail
Date: Wed, 15 Jun 2011 22:42:33 +0200 [thread overview]
Message-ID: <m2aadivnba.fsf@igel.home> (raw)
In-Reply-To: <87y612kh0o.fsf@member.fsf.org> (Tassilo Horn's message of "Wed, 15 Jun 2011 21:53:59 +0200")
Tassilo Horn <tassilo@member.fsf.org> writes:
> lee <lee@yun.yagibdah.de> writes:
>
>> As an additional question, with fancy splitting, what´s a regexp that
>> matches a phone number like "+491234567" in the subject? I tried
>> "\\+491234567", and it won´t match.
>
> It does!
It doesn't.
> (string-match "\\+491234567" "Re: Call my via +491234567 now!") ;; C-x C-e
> ==> 16
(string-match "\\<\\+491234567\\>" "Re: Call my via +491234567 now!")
You either need to make ?+ a word character in
nnmail-split-fancy-syntax-table, or use ".*\\+491234567".
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
next prev parent reply other threads:[~2011-06-15 20:42 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-15 19:46 lee
2011-06-15 19:53 ` Tassilo Horn
2011-06-15 20:42 ` Andreas Schwab [this message]
2011-06-28 16:04 ` Ted Zlatanov
2011-06-28 18:04 ` Andreas Schwab
2011-06-28 19:01 ` Ted Zlatanov
2011-06-28 21:21 ` lee
2011-06-28 23:22 ` lee
2011-06-15 21:16 ` lee
2011-06-26 9:31 ` Lars Magne Ingebrigtsen
2011-06-26 19:00 ` lee
2011-06-26 19:26 ` Andreas Schwab
2011-06-27 0:53 ` lee
2011-06-27 22:40 ` Andreas Schwab
2011-06-28 1:00 ` lee
2011-06-28 18:03 ` Andreas Schwab
2011-06-28 19:16 ` lee
2011-06-26 19:37 ` Lars Magne Ingebrigtsen
2011-06-27 1:49 ` lee
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=m2aadivnba.fsf@igel.home \
--to=schwab@linux-m68k.org \
--cc=ding@gnus.org \
--cc=tassilo@member.fsf.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).