Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 May 2011 18:12:27 -0700 (PDT)
From:      "Pedro F. Giffuni" <giffunip@yahoo.com>
To:        Gabor Kovesdan <gabor@kovesdan.org>
Cc:        hackers@FreeBSD.org, Brooks Davis <brooks@freebsd.org>
Subject:   Re: [RFC] Replacing our regex implementation
Message-ID:  <84842.36474.qm@web113506.mail.gq1.yahoo.com>
In-Reply-To: <20110509014938.EE292B827@mail.bitblocks.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--- On Sun, 5/8/11, Bakul Shah <bakul@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?84842.36474.qm>