From: Paul Eggert <eggert@cs.ucla.edu>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: "Emacs developers" <emacs-devel@gnu.org>,
"Clément Pit--Claudel" <cpitcla@mit.edu>
Subject: Re: Regular expression libraries
Date: Thu, 15 Dec 2016 23:20:28 -0800 [thread overview]
Message-ID: <460074d9-394a-5c0c-33f3-6be16e7082bb@cs.ucla.edu> (raw)
In-Reply-To: <874m24svia.fsf@linux-m68k.org>
Andreas Schwab wrote:
>> Another library is in that list:
>>
>> - The GNU C library, which ordinarily uses a DFA but which uses
>> backtracking if needed.
> But it doesn't support a gap.
True, but none of the others do either. Only the old glibc code (which survives
only in Emacs now) does that, as far as I know.
I doubt whether it'd be that hard to add gap support to any regexp matcher, as
it's simply interposing an address calculation.
next prev parent reply other threads:[~2016-12-16 7:20 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-15 19:00 Regular expression libraries Clément Pit--Claudel
2016-12-15 20:10 ` Eli Zaretskii
2016-12-15 20:30 ` Paul Eggert
2016-12-15 22:00 ` Andreas Schwab
2016-12-16 7:20 ` Paul Eggert [this message]
2016-12-16 14:31 ` Clément Pit--Claudel
2016-12-16 14:54 ` Clément Pit--Claudel
2016-12-16 15:42 ` Lars Ingebrigtsen
2016-12-16 20:06 ` Clément Pit--Claudel
2016-12-16 21:25 ` Eli Zaretskii
2016-12-16 17:43 ` Paul Eggert
2016-12-15 22:16 ` Clément Pit--Claudel
2016-12-16 5:15 ` Stefan Monnier
2016-12-16 14:41 ` Clément Pit--Claudel
2016-12-16 17:45 ` Paul Eggert
2016-12-16 20:07 ` Clément Pit--Claudel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=460074d9-394a-5c0c-33f3-6be16e7082bb@cs.ucla.edu \
--to=eggert@cs.ucla.edu \
--cc=cpitcla@mit.edu \
--cc=emacs-devel@gnu.org \
--cc=schwab@linux-m68k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).