From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/23556 Path: main.gmane.org!not-for-mail From: Alexandre Oliva Newsgroups: gmane.emacs.gnus.general Subject: Re: `nnmail-split-fancy' regexp Date: 25 Jun 1999 09:51:00 -0300 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035161267 2653 80.91.224.250 (21 Oct 2002 00:47:47 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:47:47 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from farabi.math.uh.edu (farabi.math.uh.edu [129.7.128.57]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id IAA11816 for ; Fri, 25 Jun 1999 08:52:49 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by farabi.math.uh.edu (8.9.1/8.9.1) with ESMTP id HAB06934; Fri, 25 Jun 1999 07:52:17 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 25 Jun 1999 07:53:04 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id HAA03457 for ; Fri, 25 Jun 1999 07:52:54 -0500 (CDT) Original-Received: from grande.dcc.unicamp.br (grande.dcc.unicamp.br [143.106.1.11]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id IAA11773 for ; Fri, 25 Jun 1999 08:51:53 -0400 (EDT) Original-Received: from amazonas.dcc.unicamp.br (amazonas.dcc.unicamp.br [143.106.7.11]) by grande.dcc.unicamp.br (8.9.1/8.9.1) with ESMTP id JAA01410; Fri, 25 Jun 1999 09:47:22 -0300 (EST) Original-Received: from saci.lsd.dcc.unicamp.br (oliva@saci.lsd.dcc.unicamp.br [143.106.23.3]) by amazonas.dcc.unicamp.br (8.8.5/8.8.5) with SMTP id JAA00693; Fri, 25 Jun 1999 09:47:22 -0300 (EST) Original-To: Kai.Grossjohann@CS.Uni-Dortmund.DE In-Reply-To: Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "25 Jun 1999 13:48:20 +0200" Original-Lines: 38 User-Agent: Gnus/5.070088 (Pterodactyl Gnus v0.88) XEmacs/20.4 (Emerald) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:23556 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:23556 On Jun 25, 1999, Kai.Grossjohann@CS.Uni-Dortmund.DE wrote: > Well, would this work? "\\(^\\|.*[< ,]\\)libtool@gnus\\.org" Nope, it's not a beginning-of-line (or of string) for `^' to match. > I think you're using the wrong approach, though. Most mailing lists > contain a header which uniquely idenfies the mails. But there are messages that are posted to multiple mailing lists, and I'd receive multiple copies of the message with different Sender/X-loop/whatever headers. If I relied on them, I'd have to disable discarding of duplicates, which I don't want to do, or I'd have to live without cross-posting. Anyway, my particular problem doesn't matter much; the fact is that there's no way to make sure you're not getting the implicit .* to match a `-' you don't want it to match. Although it is nice to have full words by default, `-' is a word separator, so it doesn't always get it right. > Hm. How does one match "Sender: foo-owner@frob.org" exactly with > fancy splitting? Maybe it's not so easy after all :-( Precisely. > (| ("Sender" "bug-libtool-owner" (& "bug-libtool group" "libtool group")) > ("Sender" "libtool-owner" "libtool group")) Nope, I don't want cross-posting where it doesn't belong, i.e., if a message was only posted to bug-libtool-owner, it shouldn't appear in the libtool group. -- Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il {oliva,Alexandre.Oliva}@dcc.unicamp.br aoliva@{acm.org,computer.org} oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org} *** E-mail about software projects will be forwarded to mailing lists