bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#29343: Match data doesn't contain elements for trailing non-matched


From: Lars Ingebrigtsen
Subject: bug#29343: Match data doesn't contain elements for trailing non-matched subgroups
Date: Sat, 29 Jan 2022 16:40:05 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Philipp Stephani <p.stephani2@gmail.com> writes:

> It turns out that this is harder than I expected, because the
> information about the number of groups in the pattern isn't stored
> anywhere, and search_regs.num_regs may be different from the group
> count. If it turns out too hard to fix, the behavior should at least
> be documented.

I've now mentioned this in the doc string in Emacs 29.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]