Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jun 2008 12:08:38 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Andrey Chernov <ache@nagual.pp.ru>
Cc:        Doug Barton <dougb@FreeBSD.org>, current@FreeBSD.org, Diomidis Spinellis <dds@aueb.gr>, hackers@FreeBSD.org, K?vesd?n G?bor <gabor@t-hosting.hu>, "Sean C. Farley" <scf@FreeBSD.org>, Max Khon <fjoe@samodelkin.net>
Subject:   Re: CFT: BSD-licensed grep [Fwd: cvs commit: ports/textproc/bsdgrep Makefile distinfo]
Message-ID:  <861w2wgyqh.fsf@ds4.des.no>
In-Reply-To: <20080617002224.GA16122@nagual.pp.ru> (Andrey Chernov's message of "Tue\, 17 Jun 2008 04\:22\:25 %2B0400")
References:  <485453F2.60507@FreeBSD.org> <4854BC29.3060507@FreeBSD.org> <4854C96A.1080603@aueb.gr> <48556AAD.9010602@t-hosting.hu> <20080615212613.GA97326@nagual.pp.ru> <4855EDFE.3010708@FreeBSD.org> <86bq211rqw.fsf@ds4.des.no> <20080617002224.GA16122@nagual.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Andrey Chernov <ache@nagual.pp.ru> writes:
> "Dag-Erling Sm=C3=B8rgrav" <des@des.no> writes:
> > We don't have a locale-aware regex implementation.  Henry Spencer
> > wrote one for Tcl 8, and it seems to be under an MIT-equivalent
> > license, but I'm not sure how hard it would be to extirpate.  It
> > might be easier to lift it from PostgreSQL, which also uses it.
> No, we have it already for many years (libc/regexec).

I hadn't noticed...  ISTR it was an issue back when jphoward wrote his
BSD-licensed grep.

However, it's not the same engine - it's Spencer's old engine with
multibyte support added.  IIRC, it performs very poorly compared to the
GNU regexp engine; it would be interesting to see how well the Tcl
engine performs in comparison.

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



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