[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
- Embedded modifiers in the regex engine, Dima Kogan, 2016/02/24
- Re: Embedded modifiers in the regex engine, John Wiegley, 2016/02/25
- Re: Embedded modifiers in the regex engine,
Stefan Monnier <=
- Re: Embedded modifiers in the regex engine, Eli Zaretskii, 2016/02/25
- Re: Embedded modifiers in the regex engine, Dima Kogan, 2016/02/26
- Re: Embedded modifiers in the regex engine, Eli Zaretskii, 2016/02/26
- Re: Embedded modifiers in the regex engine, Dima Kogan, 2016/02/27
- Re: Embedded modifiers in the regex engine, Eli Zaretskii, 2016/02/28
- Re: Embedded modifiers in the regex engine, Richard Stallman, 2016/02/29
- Re: Embedded modifiers in the regex engine, Aurélien Aptel, 2016/02/29