From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79115 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.gnus.general Subject: Re: checking several headers when splitting mail Date: Wed, 15 Jun 2011 22:42:33 +0200 Message-ID: References: <87zkliev2l.fsf@yun.yagibdah.de> <87y612kh0o.fsf@member.fsf.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1308170617 3567 80.91.229.12 (15 Jun 2011 20:43:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 15 Jun 2011 20:43:37 +0000 (UTC) Cc: ding@gnus.org To: Tassilo Horn Original-X-From: ding-owner+M27414@lists.math.uh.edu Wed Jun 15 22:43:33 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QWww1-0003C5-17 for ding-account@gmane.org; Wed, 15 Jun 2011 22:43:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1QWwvH-0003iB-QO; Wed, 15 Jun 2011 15:42:47 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1QWwvG-0003hw-5R for ding@lists.math.uh.edu; Wed, 15 Jun 2011 15:42:46 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1QWwvE-0003tb-Fp for ding@lists.math.uh.edu; Wed, 15 Jun 2011 15:42:45 -0500 Original-Received: from mail-out.m-online.net ([212.18.0.9]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1QWwvB-0000CY-Cy for ding@gnus.org; Wed, 15 Jun 2011 22:42:41 +0200 Original-Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 0E33B1C013F3; Wed, 15 Jun 2011 22:42:35 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id EBB041C00131; Wed, 15 Jun 2011 22:42:35 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.8.164]) (amavisd-new, port 10024) with ESMTP id rhjfdkFg5JNN; Wed, 15 Jun 2011 22:42:35 +0200 (CEST) Original-Received: from igel.home (ppp-88-217-122-19.dynamic.mnet-online.de [88.217.122.19]) by mail.mnet-online.de (Postfix) with ESMTP; Wed, 15 Jun 2011 22:42:35 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 501) id D0322CA29C; Wed, 15 Jun 2011 22:42:34 +0200 (CEST) X-Yow: Is there something I should be DOING with a GLAZED DONUT?? In-Reply-To: <87y612kh0o.fsf@member.fsf.org> (Tassilo Horn's message of "Wed, 15 Jun 2011 21:53:59 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79115 Archived-At: Tassilo Horn writes: > lee 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."