emacs-devel
[Top][All Lists]
Advanced

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

Re: Fixing ill-conditioned regular expressions. Proof of concept.


From: Paul Eggert
Subject: Re: Fixing ill-conditioned regular expressions. Proof of concept.
Date: Thu, 26 Feb 2015 00:46:58 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

Alan Mackenzie wrote:
More to the point, it is sometimes
not possible to preserve the numbering of \(...\) constructs while
fixing a regexp, which would change the match-data.

Sure, but you could remember how the \(...\) constructs were renumbered, and fix the match data after the underlying regexp call returned. It shouldn't be a big deal.



reply via email to

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