From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/75385 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.gnus.general Subject: Re: What's wrong with this fancy split? Date: Wed, 22 Dec 2010 10:32:58 +0100 Message-ID: References: <87k4j2k7nh.fsf@windlord.stanford.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1293010408 6348 80.91.229.12 (22 Dec 2010 09:33:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 22 Dec 2010 09:33:28 +0000 (UTC) Cc: ding@gnus.org To: Russ Allbery Original-X-From: ding-owner+M23737@lists.math.uh.edu Wed Dec 22 10:33:18 2010 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 1PVL4P-0004kK-3g for ding-account@gmane.org; Wed, 22 Dec 2010 10:33:17 +0100 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 1PVL4E-0002cy-UB; Wed, 22 Dec 2010 03:33:06 -0600 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 1PVL4B-0002cd-Uc for ding@lists.math.uh.edu; Wed, 22 Dec 2010 03:33:03 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PVL4A-000543-9v for ding@lists.math.uh.edu; Wed, 22 Dec 2010 03:33:03 -0600 Original-Received: from mail-out.m-online.net ([212.18.0.10]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PVL49-0005Px-0M for ding@gnus.org; Wed, 22 Dec 2010 10:33:01 +0100 Original-Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id CC9101800A0C; Wed, 22 Dec 2010 10:32:59 +0100 (CET) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id 14AEF1C001A0; Wed, 22 Dec 2010 10:33:00 +0100 (CET) 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 i-n2LqYIaPsc; Wed, 22 Dec 2010 10:32:59 +0100 (CET) Original-Received: from igel.home (ppp-88-217-104-133.dynamic.mnet-online.de [88.217.104.133]) by mail.mnet-online.de (Postfix) with ESMTP; Wed, 22 Dec 2010 10:32:59 +0100 (CET) Original-Received: by igel.home (Postfix, from userid 501) id EB4A4CA2A0; Wed, 22 Dec 2010 10:32:58 +0100 (CET) X-Yow: It's OBVIOUS.. The FURS never reached ISTANBUL.. You were an EXTRA in the REMAKE of ``TOPKAPI''.. Go home to your WIFE.. She's making FRENCH TOAST! In-Reply-To: <87k4j2k7nh.fsf@windlord.stanford.edu> (Russ Allbery's message of "Tue, 21 Dec 2010 15:50:26 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2.91 (gnu/linux) X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:75385 Archived-At: Russ Allbery writes: > Andreas Schwab writes: >> Tommy Kelly writes: > >>> This fancy split is meant to match emails with "[some-list]" in the >>> subject. >>> >>> ("subject" "\\[some-list\\]" "some-list") >>> >>> But it isn't. Any ideas why? > >> Because [ and ] are not word characters. See >> nnmail-split-fancy-syntax-table. > > Practically speaking, what this means is that you need to write: > > ("subject" ".*\\[some-list\\].*" "some-list") Or make them word characters. 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."