[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Gnus nnmail-split-fancy regexps can’t support backrefs inside themse
Re: Gnus nnmail-split-fancy regexps can’t support backrefs inside themselves?
Tue, 20 Mar 2018 22:09:44 +0100
-----BEGIN PGP SIGNED MESSAGE-----
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...
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
-----END PGP SIGNATURE-----