From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: Gnus nnmail-split-fancy regexps can’t support backrefs inside themselves?
Date: Tue, 20 Mar 2018 16:20:41 -0400 [thread overview]
Message-ID: <jwvbmfiy03p.fsf-monnier+gmane.emacs.help@gnu.org> (raw)
In-Reply-To: 4i30kmyxt8ln.1gu.xxuns.g6.gal@galex-713.eu
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).
Stefan
next prev parent reply other threads:[~2018-03-20 20:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-16 19:15 Gnus nnmail-split-fancy regexps can’t support backrefs inside themselves? Garreau, Alexandre
2018-03-17 8:25 ` tomas
2018-03-19 12:57 ` Garreau, Alexandre
2018-03-19 15:10 ` tomas
2018-03-20 20:20 ` Stefan Monnier [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvbmfiy03p.fsf-monnier+gmane.emacs.help@gnu.org \
--to=monnier@iro.umontreal.ca \
--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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.