From owner-freebsd-current@freebsd.org Tue Nov 3 17:28:19 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 45D42A2531D for ; Tue, 3 Nov 2015 17:28:19 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 2BB9511D5 for ; Tue, 3 Nov 2015 17:28:19 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 2C30BA2531C; Tue, 3 Nov 2015 17:28:19 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2BCCAA2531B for ; Tue, 3 Nov 2015 17:28:19 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1.freebsd.org (Postfix) with SMTP id DDEFA11D4 for ; Tue, 3 Nov 2015 17:28:18 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: (qmail 90487 invoked by uid 99); 3 Nov 2015 17:28:17 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Nov 2015 17:28:17 +0000 Received: from [192.168.0.103] (unknown [181.55.232.163]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id C07BE1A01DC; Tue, 3 Nov 2015 17:28:16 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: [CFT] Unicode collation string and reworked locale definitions From: Pedro Giffuni In-Reply-To: <854mh3cc3m.fsf@iznogoud.viz> Date: Tue, 3 Nov 2015 12:28:13 -0500 Cc: Baptiste Daroussin , current@FreeBSD.org Content-Transfer-Encoding: quoted-printable Message-Id: <0117E272-7B4B-4D74-840C-BCDE64FD6B89@FreeBSD.org> References: <20151103071758.GC31432@ivaldir.etoilebsd.net> <854mh3cc3m.fsf@iznogoud.viz> To: Wolfgang Jenkner X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2015 17:28:19 -0000 Hello; > Il giorno 03/nov/2015, alle ore 10:52, Wolfgang Jenkner = 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.