[RFC] Replacing our regex implementation

Pedro F. Giffuni giffunip at yahoo.com
Tue May 10 01:24:42 UTC 2011


--- On Sun, 5/8/11, Bakul Shah <bakul at bitblocks.com> wrote:

...

> 
> C++ may be an impediment for it to go into libc but one
> can certainly put a C interface on a C++ library.
>

I wouldn't think it's very consistent to use C++ in libc.
Perhaps we could have the best of both worlds by using
libtre as the libc regex replacement and re2 for grep
and diff? As an extra benefit using Re2 would make it
easier to support --perl-regex in grep.

cheers,

Pedro.


More information about the freebsd-hackers mailing list