[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#17373: 24.3.50; match data is incorrect if there are too many groups
From: |
Marcin Borkowski |
Subject: |
bug#17373: 24.3.50; match data is incorrect if there are too many groups |
Date: |
Wed, 10 Feb 2016 18:11:54 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
On 2014-05-19, at 07:48, Drew Adams <drew.adams@oracle.com> wrote:
>> Yes, unfortunately Emacs currently has a limit of at most 256 groups of
>> match data: one for the entire pattern, and 255 for parenthesized
>> subpatterns. If you go over the limit, the excess matches are silently
>> discarded. I don't see this limitation documented anywhere; it should
>> be. Or better yet, the limitation should be removed.
>
> Good to know. +1, to documenting it, at least.
I can write a patch to the manual, but I'm a bit afraid that if this
gets documented, the limit will stay there forever. Is there a chance
of someone fluent in C to fix this?
(Incidentally, I have one package of mine where this limit could strike,
too.)
Best,
--
Marcin Borkowski
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#17373: 24.3.50; match data is incorrect if there are too many groups,
Marcin Borkowski <=