emacs-devel
[Top][All Lists]
Advanced

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

Re: regex.c simplification


From: Daniel Colascione
Subject: Re: regex.c simplification
Date: Sat, 16 Jun 2018 09:42:37 -0700
User-agent: SquirrelMail/1.4.23 [SVN]

> On Sat, 16 Jun 2018 08:35:34 -0700 "Daniel Colascione"
> <address@hidden> wrote:
>> I was doing some work on regex.c just now, and I was frustrated
>> that the code is unnecessarily complicated by the ifdefs necessary
>> to support some theoretical non-Emacs use case. Is all of this
>> complexity really necessary? Are we sure the !emacs case even
>> compiles? Are there non-Emacs users of the Emacs regex code? Can we
>> just fork the implementation? How about baking in switches like
>> MATCH_MAY_ALLOCATE?
>
> The emacs regex code is hardly state of the art. I would suggest that
> there are many other, better, free software implementations of
> regexes.

There are. Unfortunately, none of them understand predicates like \= and \s|.




reply via email to

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