Replacing libgnuregex

Jilles Tjoelker jilles at stack.nl
Sun Apr 16 13:48:00 UTC 2017


On Tue, Apr 11, 2017 at 03:20:58PM -0500, Kyle Evans wrote:
> On the other hand, I think I could fairly easily implement most of these
> into libc/regex. Here's a summary of what this option entails adding to
> libc/regex, from what I've found:

> [snip]
> * Add backreferences (\1 through \9) to EREs
> [snip]

Adding this enforces that EREs, like BREs, may sometimes require
exponential time to match. I would prefer to avoid that.

-- 
Jilles Tjoelker


More information about the freebsd-hackers mailing list