From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Newsgroups: gmane.emacs.help Subject: Re: Gnus nnmail-split-fancy =?utf-8?Q?rege?= =?utf-8?B?eHBzIGNhbuKAmXQ=?= support backrefs inside themselves? Date: Sat, 17 Mar 2018 09:25:06 +0100 Message-ID: <20180317082506.GA23646@tuxteam.de> References: <4i30kmyxt8ln.1gu.xxuns.g6.gal@galex-713.eu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1521275028 6620 195.159.176.226 (17 Mar 2018 08:23:48 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 17 Mar 2018 08:23:48 +0000 (UTC) User-Agent: Mutt/1.5.21 (2010-09-15) Cc: help-gnu-emacs To: "Garreau, Alexandre" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 17 09:23:43 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ex77u-0001dR-TS for geh-help-gnu-emacs@m.gmane.org; Sat, 17 Mar 2018 09:23:43 +0100 Original-Received: from localhost ([::1]:32829 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ex79x-0004Zn-UH for geh-help-gnu-emacs@m.gmane.org; Sat, 17 Mar 2018 04:25:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47861) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ex79T-0004XL-I0 for help-gnu-emacs@gnu.org; Sat, 17 Mar 2018 04:25:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ex79P-0005Be-Fk for help-gnu-emacs@gnu.org; Sat, 17 Mar 2018 04:25:19 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:43175) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ex79P-00058O-5Q for help-gnu-emacs@gnu.org; Sat, 17 Mar 2018 04:25:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=20171004; h=From:In-Reply-To:Content-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:Date; bh=5UuZvMDr6aqdwUVOUmZvkxwQwlPrHzYMWLzcUme/vmA=; b=Vlu8Gele3zTRL0j9aT52uZ7/DjLoTBXWMiXsWKB/vf4+9+jmWZ+uu+eaVY+9rusVNCppk6/5EoxFlj38fLFAkMzaCuw9b8d4n5VpIvu19Ftprv300xGapAH3ZKz6DYZHLWT97OzBAJCfKcE7N4WUmgJiOfG1DdyyR0g+w1Ti8cOwT+zhKZA/UupRLBHjgGtjK8AehvCR7Uzyc1k9+XDIUnQM2z3tOG0W7MlckgI0/Jxmd7Gsy8comdyQ0GEu7/0qmKGMUtMOUzI40qKLfP0fgkRcUqo5uv33xE3Kc6MV+kWWXBNCJ1dR0cMi/XAFpmiVd6zKgblqN27Cb0vaNh2R1w==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1ex79G-0006DA-Vd; Sat, 17 Mar 2018 09:25:07 +0100 In-Reply-To: <4i30kmyxt8ln.1gu.xxuns.g6.gal@galex-713.eu> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 5.199.139.25 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:116193 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, Mar 16, 2018 at 08:15:59PM +0100, Garreau, Alexandre wrote: > If I use a rule with a match regexp including a backreference inside the > variable nnmail-split-fancy, it doesn’t match anything anymore: > ("list-id" ".*<\\(gcc\\)-\\(help\\).\\1.\\(gnu\\)\\.org>.*" "lists.\\3.\\1.\\2") What are you trying to match? The above will match "gcc-help#gcc#gnu.org (where '#' stands here for any character). This looks strange to me (what is the use of \\(...\\) for a constant match? \1 will always (in the case of a match, that is) be "gcc", \2 always "help" and \3 always "gnu". Is that really your intention? What are you trying to match? > Yet backrefs are supported on the other side of the rule… is this > normal? why is that? I at least would like a confirmation ^^ Yes, backreferences should work OK. Cheers - -- t -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlqs0OIACgkQBcgs9XrR2kb/7gCfQtrYNuclg8m8NkKflY4le5SO 4ZIAniW1cb6Xc6W6B07N8QEgxC1roR2E =8z9X -----END PGP SIGNATURE-----