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: Tue, 20 Mar 2018 22:09:44 +0100 Message-ID: <20180320210944.GA23960@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 1521580107 23043 195.159.176.226 (20 Mar 2018 21:08:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 20 Mar 2018 21:08:27 +0000 (UTC) User-Agent: Mutt/1.5.21 (2010-09-15) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 20 22:08:23 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 1eyOUY-0005wd-Oy for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Mar 2018 22:08:22 +0100 Original-Received: from localhost ([::1]:51752 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eyOWb-0001MO-Un for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Mar 2018 17:10:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50703) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eyOW4-0001M8-OF for help-gnu-emacs@gnu.org; Tue, 20 Mar 2018 17:09:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eyOW0-0003yx-Lb for help-gnu-emacs@gnu.org; Tue, 20 Mar 2018 17:09:56 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:53552) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eyOW0-0003tz-Bd for help-gnu-emacs@gnu.org; Tue, 20 Mar 2018 17:09:52 -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:To:Date; bh=UCmGP/jGCf04TlZjA5wGje6atdT96H5PMaw1RF9PN9o=; b=McrWyTsgdn+hUiTipQMX4oMN/rim039oUj6epp7eSfOARr6wrVhw2eLrRt+dVQjOjylH8lW0XfFT1xOPUl4JYr2kjL0Bhb9lwQ271FXK5ZwzhS7I6I9sP6N+bJjg92EeygsVBQ/RXtYav6dY5HT1VGwSoZB2NF6az9LwT2kPTKGRgFxQa6m8VIsK6WMve1Y7SHcgITTyC5BD086eAqMqLBB3cB95MTxHG2AlIPOkZVFofbW2H44AbWNeySrjfoezU/StBZRmkJR05m8epIJhwI7CyfKDHIUf4FPZfrCL5dJEE0FEZTlKMsl9QOM993ygqB6ehQzmyr0TtcXC7FEHSg==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1eyOVs-0006Is-F9 for help-gnu-emacs@gnu.org; Tue, 20 Mar 2018 22:09:44 +0100 In-Reply-To: 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:116218 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, Mar 20, 2018 at 04:20:41PM -0400, Stefan Monnier wrote: > > Indeed, they don't support backrefs, because Gnus takes the regexp you > specify and embeds it into a larger regexp which also uses \(...\) > grouping, so you'd have to offset your backrefs by the proper number of > preceding \( in order for them to work right (and changes in Emacs/Gnus > can change this offset, of course, to make things more interesting). Oh, good catch. Perhaps using explicitly numbered groups \(?NUM:...\) might help here... Cheers - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlqxeJgACgkQBcgs9XrR2kY2wQCfblkYkeayFrliIxv1D9UVhS91 uHsAnRoh6QO6Li0/HlkV1on6WbTonCFH =7wjF -----END PGP SIGNATURE-----