[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Gnus nnmail-split-fancy regexps can’t support backrefs inside themse
From: |
Stefan Monnier |
Subject: |
Re: Gnus nnmail-split-fancy regexps can’t support backrefs inside themselves? |
Date: |
Tue, 20 Mar 2018 16:20:41 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
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