emacs-devel
[Top][All Lists]
Advanced

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

Re: Embedded modifiers in the regex engine


From: Stefan Monnier
Subject: Re: Embedded modifiers in the regex engine
Date: Thu, 25 Feb 2016 16:05:03 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

> There's also been talking of rewriting the regex code, since it has acquired
> much baggage over the years.

Actually, I don't think it has much baggage, because it mostly hasn't
been touched over the years (at least the regexp.c code).
The main problem with it is the fact that it's a plain backtracking
algorithm (i.e. exponential worst case), and that it's our own so it
doesn't benefit from improvements added to other regexp engines.


        Stefan




reply via email to

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