[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] master 938d252 4/4: Make regex matching reentrant; up
From: |
Daniel Colascione |
Subject: |
Re: [Emacs-diffs] master 938d252 4/4: Make regex matching reentrant; update syntax during match |
Date: |
Mon, 18 Jun 2018 10:49:46 -0700 |
User-agent: |
SquirrelMail/1.4.23 [SVN] |
> On Sun, 17 Jun 2018 11:51:33 -0700 "Daniel Colascione"
> <address@hidden> wrote:
>> But anyway, I think the regex code needs a major overhaul. I was
>> actually thinking about forking and vendoring RE2. Granted, having
>> done that, you'd need a C++ compiler to build Emacs, but it's
>> probably one of the better actively-maintained DFA-based regex
>> engines around.
>
> I think needing C++ makes this less than the most obvious choice.
Why? C++ is everywhere these days. I'm in no hurry to move the Emacs core
to C++, but requiring a C++ compiler for the sake of some dependency
shouldn't be a problem. It's good enough for GDB.
>
> I think the right thing would be to use TRE if we could get Ville
> Laurikari to let someone else be the maintainer. Sadly right now it
> seems unmaintained and has been for years, but it's fast, complete,
> and has the ability to handle things like gap buffers.
Last time I looked, many years ago, there were several bugs (or
differences between TRE and POSIX anyway)
- Re: [Emacs-diffs] master 938d252 4/4: Make regex matching reentrant; update syntax during match, Stefan Monnier, 2018/06/17
- Re: [Emacs-diffs] master 938d252 4/4: Make regex matching reentrant; update syntax during match, Daniel Colascione, 2018/06/17
- Re: [Emacs-diffs] master 938d252 4/4: Make regex matching reentrant; update syntax during match, Stefan Monnier, 2018/06/17
- Re: [Emacs-diffs] master 938d252 4/4: Make regex matching reentrant; update syntax during match, Perry E. Metzger, 2018/06/18
- Re: [Emacs-diffs] master 938d252 4/4: Make regex matching reentrant; update syntax during match,
Daniel Colascione <=
- Re: [Emacs-diffs] master 938d252 4/4: Make regex matching reentrant; update syntax during match, Perry E. Metzger, 2018/06/19
- Re: [Emacs-diffs] master 938d252 4/4: Make regex matching reentrant; update syntax during match, Perry E. Metzger, 2018/06/19
- Re: [Emacs-diffs] master 938d252 4/4: Make regex matching reentrant; update syntax during match, Daniel Colascione, 2018/06/19
- Re: [Emacs-diffs] master 938d252 4/4: Make regex matching reentrant; update syntax during match, Perry E. Metzger, 2018/06/19
- Re: [Emacs-diffs] master 938d252 4/4: Make regex matching reentrant; update syntax during match, Perry E. Metzger, 2018/06/19
- Re: [Emacs-diffs] master 938d252 4/4: Make regex matching reentrant; update syntax during match, Daniel Colascione, 2018/06/19
- Re: [Emacs-diffs] master 938d252 4/4: Make regex matching reentrant; update syntax during match, Perry E. Metzger, 2018/06/19
- Re: [Emacs-diffs] master 938d252 4/4: Make regex matching reentrant; update syntax during match, Paul Eggert, 2018/06/19
- Re: [Emacs-diffs] master 938d252 4/4: Make regex matching reentrant; update syntax during match, Perry E. Metzger, 2018/06/19
- Re: [Emacs-diffs] master 938d252 4/4: Make regex matching reentrant; update syntax during match, Stefan Monnier, 2018/06/19