Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 May 2011 23:13:34 -0700
From:      Bakul Shah <bakul@bitblocks.com>
To:        Zhihao Yuan <lichray@gmail.com>
Cc:        Gabor Kovesdan <gabor@kovesdan.org>, "Pedro F. Giffuni" <giffunip@yahoo.com>, hackers@freebsd.org, Brooks Davis <brooks@freebsd.org>
Subject:   Re: [RFC] Replacing our regex implementation 
Message-ID:  <20110509061334.A62EAB827@mail.bitblocks.com>
In-Reply-To: Your message of "Sun, 08 May 2011 21:35:04 CDT." <BANLkTim-T4m=jUfXT_wFAv3n=H6QG2N1iQ@mail.gmail.com> 
References:  <4DC7356C.20905@kovesdan.org> <20110509011709.5455CB827@mail.bitblocks.com> <4DC74546.1060902@kovesdan.org> <20110509014938.EE292B827@mail.bitblocks.com> <BANLkTim-T4m=jUfXT_wFAv3n=H6QG2N1iQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 08 May 2011 21:35:04 CDT Zhihao Yuan <lichray@gmail.com>  wrote:
> 1. This lib accepts many popular grammars (PCRE, POSIX, vim, etc.),
> but it does not allow you to change the mode.
> http://code.google.com/p/re2/source/browse/re2/re2.h

The mode is decided when an RE2 object is instantiated so this
is ok. You can certainly instantiate multiple objects with
different options if so desired.

> 2. It focuses on speed and features, not stability and standardization.

Look at the open issues. Seems stable enough to me. re2 has a
posix only mode. It also does unicode.

> 3. It uses C++. We seldom accepts C++ code in base system, and does
> not accept it in libc.

This is the show stopper.



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