From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/20252 Path: main.gmane.org!not-for-mail From: Asymptotically Approaching Relaxation Newsgroups: gmane.emacs.gnus.general Subject: Re: M-x gnus-filter-mail-at-warp-10 (was: Re: Pre-Processed maiil splitting under Gnus?) Date: 12 Jan 1999 13:42:49 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: References: <199901112208.RAA04940@magrathea.cosmic.com> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035158576 16775 80.91.224.250 (21 Oct 2002 00:02:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:02:56 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from karazm.math.uh.edu (karazm.math.uh.edu [129.7.128.1]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id NAA05685 for ; Tue, 12 Jan 1999 13:44:35 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by karazm.math.uh.edu (8.9.1/8.9.1) with ESMTP id MAB27640; Tue, 12 Jan 1999 12:44:01 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 12 Jan 1999 12:44:00 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id MAA17303 for ; Tue, 12 Jan 1999 12:43:52 -0600 (CST) Original-Received: from magrathea.cosmic.com (feoh@chrisp.xensei.com [204.96.52.53]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id NAA05659 for ; Tue, 12 Jan 1999 13:43:41 -0500 (EST) Original-Received: (from feoh@localhost) by magrathea.cosmic.com (8.8.7/8.8.7) id NAA16108; Tue, 12 Jan 1999 13:42:50 -0500 Original-To: Kai.Grossjohann@CS.Uni-Dortmund.DE X-Reason-For-Owning-A-TV: Babylon 5 In-Reply-To: Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "12 Jan 1999 18:35:19 +0100" Original-Lines: 46 X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald" Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:20252 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:20252 Kai.Grossjohann@CS.Uni-Dortmund.DE writes: > Asymptotically Approaching Relaxation writes: > > > (setq nnmail-split-methods > > '(("mail.imagine" ".*owner-imagine@MAELSTROM\.STJOHNS\.EDU") > > ("mail.mesa" "Return-Path:.*mesa.*.BR.*") > > ("mail.kaffe" "Sender:.*kaffe@w3\.org") > > ("mail.0xdeadbeef" ".*0xdeadbeef@substance\.abuse\.blackdown\.org") > > ("mail.0xdeadbeef" "To:.*0xdeadbeef@substance.abuse.blackdown.org") > > ("mail.linux-kernel" "linux-kernel@vger\.rutgers\.edu") > > ("mail.linux-smp" "linux-smp@vger\.rutgers\.edu") > > ("mail.linux-net" "linux-net@vger\.rutgers\.edu") > > ("mail.linux-gcc" "linux-gcc@vger\.rutgers\.edu") > > ("mail.linux-svgalib" "linux-svgalib@vger\.rutgers\.edu") > > ("mail.linux-tape" "linux-tape@vger\.rutgers\.edu") > > ("mail.linux-scsi" "linux-scsi@vger\.rutgers\.edu") > > I'm sure that these can be made faster by always using the header name > (a number of these don't have headers), and by prefixing the header > name with "^" (which means at beginning of line). > > To be specific: the "mail.kaffe" regex could be > "^Sender:.*kaffe@w3.org". > > Also, note that the Lisp reader expands "\." to "." so "foo\.bar" and > "foo.bar" are the same. If you want to match a dot, use "\\.". > > kai I did that in the New: section, dunno if you caught that :) Thanks for pointing out the thing about \. versus \\. though. Clearly I need to go bash my head against the emacs-isms I'm not getting. Oh for a single regexp standard :) I say we declare "Perl" and be done with it. -Chris ____________________________________________________________________ |Chris Patti|ICQ#16333120|feoh@cosmic.com|Home #:(617)625-3194|JAPH| |"I have opposable thumbs, and I can buy a rifle. I don't need to | | run from anything." -Todd Finney |