Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Nov 2015 12:28:13 -0500
From:      Pedro Giffuni <pfg@FreeBSD.org>
To:        Wolfgang Jenkner <wjenkner@inode.at>
Cc:        Baptiste Daroussin <bapt@FreeBSD.org>, current@FreeBSD.org
Subject:   Re: [CFT] Unicode collation string and reworked locale definitions
Message-ID:  <0117E272-7B4B-4D74-840C-BCDE64FD6B89@FreeBSD.org>
In-Reply-To: <854mh3cc3m.fsf@iznogoud.viz>
References:  <C3FA8B28-BC4B-4E6D-807D-679C09684128@FreeBSD.org> <20151103071758.GC31432@ivaldir.etoilebsd.net> <BA8DB065-2D80-4136-9C93-C454444968E7@FreeBSD.org> <854mh3cc3m.fsf@iznogoud.viz>

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

> Il giorno 03/nov/2015, alle ore 10:52, Wolfgang Jenkner =
<wjenkner@inode.at> ha scritto:
>=20
> On Tue, Nov 03 2015, Pedro Giffuni wrote:
>=20
>> 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=E2=80=99t back those out now:
>>=20
>> https://svnweb.freebsd.org/base?view=3Drevision&revision=3D268066
>=20
> It supports \< and \> out of the box, cf.
>=20
> https://github.com/laurikari/tre/blob/master/doc/tre-syntax.html
>=20
> And the darwin patch mentioned above implements [[:<:]] and [[:>:]], =
see
>=20
> =
http://www.opensource.apple.com/source/Libc/Libc-1044.40.1/regex/TRE/lib/t=
re-parse.c
>=20
> That patch also implements the REG_STARTEND flag for regexec(3), which
> is needed for vi.
>=20
> Also, tre provides wchar versions for regcomp(3) and friends, so that
> nvi wouldn't need its own private regex library anymore.

Interesting thanks.

I only looked at it transitorily long ago, I noticed there was a big =
TODO
list and that the Apple patches were partially copyleft (APSL) so I
didn=E2=80=99t dig into it too much.

It certainly has to be evaluated.

Pedro.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0117E272-7B4B-4D74-840C-BCDE64FD6B89>