From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/28965 Path: main.gmane.org!not-for-mail From: Jim Meyering Newsgroups: gmane.emacs.gnus.general Subject: Re: string-match doesn't honor anchor when START is nonzero Date: 26 Jan 2000 17:34:16 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: <200001261607.RAA07804@online.de> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035165717 32524 80.91.224.250 (21 Oct 2002 02:01:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:01:57 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, ding@gnus.org Return-Path: Original-Received: from bart.math.uh.edu (bart.math.uh.edu [129.7.128.48]) by mailhost.sclp.com (Postfix) with ESMTP id E0A3ED051E for ; Wed, 26 Jan 2000 11:37:49 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by bart.math.uh.edu (8.9.1/8.9.1) with ESMTP id KAB27782; Wed, 26 Jan 2000 10:37:26 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 26 Jan 2000 10:37:00 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id KAA11511 for ; Wed, 26 Jan 2000 10:36:48 -0600 (CST) Original-Received: from drawbridge.ascend.com (drawbridge.ascend.com [198.4.92.1]) by mailhost.sclp.com (Postfix) with ESMTP id D9F4BD051E for ; Wed, 26 Jan 2000 11:36:41 -0500 (EST) Original-Received: from fw-ext.ascend.com (fw-ext [198.4.92.5]) by drawbridge.ascend.com (8.9.1a/8.9.1) with SMTP id IAA22888; Wed, 26 Jan 2000 08:28:40 -0800 (PST) Original-Received: from russet.ascend.com by fw-ext.ascend.com via smtpd (for drawbridge.ascend.com [198.4.92.1]) with SMTP; 26 Jan 2000 16:34:48 UT Original-Received: from wopr.eng.ascend.com (wopr.eng.ascend.com [206.65.212.178]) by russet.ascend.com (8.9.1a/8.9.1) with ESMTP id IAA03706; Wed, 26 Jan 2000 08:34:48 -0800 (PST) Original-Received: from buckfast.eng.ascend.com (buckfast.eng.ascend.com [172.27.38.21]) by wopr.eng.ascend.com (8.9.1/8.9.1) with ESMTP id IAA07053; Wed, 26 Jan 2000 08:38:08 -0800 (PST) Original-Received: from ixi.eng.ascend.com (ixi.eng.ascend.com [172.27.61.1]) by buckfast.eng.ascend.com (8.8.8+Sun/8.8.8) with ESMTP id RAA09904; Wed, 26 Jan 2000 17:34:39 +0100 (MET) Original-Received: (from meyering@localhost) by ixi.eng.ascend.com (8.9.3/8.9.3) id RAA04616; Wed, 26 Jan 2000 17:34:16 +0100 X-Authentication-Warning: ixi.eng.ascend.com: meyering set sender to meyering@ascend.com using -f Original-To: gerd@gnu.org In-Reply-To: Gerd Moellmann's message of "Wed, 26 Jan 2000 17:07:32 +0100 (CET)" Original-Lines: 20 User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.5 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:28965 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:28965 Gerd Moellmann writes: | > This illustrates the problem: | > | > (setq rmail-dont-reply-to-names "f.") | > (load "mail-utils") | > (rmail-dont-reply-to "b, f1, f2, f3, f4, f5, f6") | > | > Return value: "b, f2, f4, f6" | > | | Thanks for the test case. Does the following patch solve the problem? Thanks for the quick work, but that doesn't quite do it since it removes only the matching part of the ID. Instead, it should remove the entire ID. Consider this example: (rmail-dont-reply-to "b, foo1, foo2, no-match") With your patch, it evaluates to this: bo1o2, no-match