unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Garreau\, Alexandre" <galex-713@galex-713.eu>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Gnus nnmail-split-fancy regexps can’t support backrefs inside themselves?
Date: Fri, 16 Mar 2018 20:15:59 +0100	[thread overview]
Message-ID: <4i30kmyxt8ln.1gu.xxuns.g6.gal@galex-713.eu> (raw)

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")

Yet backrefs are supported on the other side of the rule… is this
normal? why is that? I at least would like a confirmation ^^



             reply	other threads:[~2018-03-16 19:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-16 19:15 Garreau, Alexandre [this message]
2018-03-17  8:25 ` Gnus nnmail-split-fancy regexps can’t support backrefs inside themselves? tomas
2018-03-19 12:57   ` Garreau, Alexandre
2018-03-19 15:10     ` tomas
2018-03-20 20:20 ` Stefan Monnier
2018-03-20 21:09   ` tomas
2018-03-20 22:05     ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4i30kmyxt8ln.1gu.xxuns.g6.gal@galex-713.eu \
    --to=galex-713@galex-713.eu \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).