> Il giorno 03/nov/2015, alle ore 02:17, Baptiste Daroussin <b...@freebsd.org>
> ha scritto:
> On Mon, Nov 02, 2015 at 06:59:15PM -0500, Pedro Giffuni wrote:
>> First of all, congratulations to Baptiste and Marino for succeeding where
>> I failed many moons ago. Also huge thanks to Nexenta and Garret D’Amore
>> for relicensing localedef for us.
>> Concerning regex;
>> Gabor@ did a lot of work on libtre but according to him it was not up to the
>> task performancewise. We would also lose features if we move to libtre.
>> I think our regex code actually has most of what is needed for multibyte
>> already. I have a patch that turns on the functionality but I haven’t found
>> any brave soul that will do the testing:
> I think it this can be tested once the collation branch is merged.
Absolutely: support for collation is critical and badly needed even without
resolving the regex issues.
> Note that
> dragonfly and musl libc both uses a patched version of libtre for the regex
I am aware. Also note that Gabor had some patches too, in order to make
it usable for bsdgrep:
> From my non scientific testing libtre was more reliable and performant then
> current regex.
According to Gabor, the general performance was better until you take into
account multibyte support where it was clearly inferior to GNU regex.
> Anyway it will be relatively "easy" to test using the AT&T
> testsuite the reliability and performance of both implementations: ours + your
> patch and patched libtre.
What worries me about libtre is that it lacks important functionality like word
delimiters. We even brought the sysv delimiters to be more compatible with
Solaris and GNU and we can’t back those out now:
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"