From owner-freebsd-current@freebsd.org Tue Nov 3 15:54:46 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 EABD9A257DF for ; Tue, 3 Nov 2015 15:54:46 +0000 (UTC) (envelope-from xdsl0000474440@inode.at) 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 D03631C38 for ; Tue, 3 Nov 2015 15:54:46 +0000 (UTC) (envelope-from xdsl0000474440@inode.at) Received: by mailman.ysv.freebsd.org (Postfix) id CE586A257DE; Tue, 3 Nov 2015 15:54:46 +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 CD13BA257DA for ; Tue, 3 Nov 2015 15:54:46 +0000 (UTC) (envelope-from xdsl0000474440@inode.at) Received: from b2bfep14.mx.upcmail.net (b2bfep14.mx.upcmail.net [62.179.121.59]) by mx1.freebsd.org (Postfix) with ESMTP id 1289F1C32 for ; Tue, 3 Nov 2015 15:54:45 +0000 (UTC) (envelope-from xdsl0000474440@inode.at) Received: from edge11.upcmail.net ([192.168.13.81]) by b2bfep14.mx.upcmail.net (InterMail vM.8.01.05.18 201-2260-151-151-20140610) with ESMTP id <20151103155437.VHZD25444.b2bfep14-int.chello.at@edge11.upcmail.net> for ; Tue, 3 Nov 2015 16:54:37 +0100 Received: from iznogoud.viz ([85.127.219.79]) by edge11.upcmail.net with edge id d3ud1r0181jNiWl0B3udDr; Tue, 03 Nov 2015 16:54:37 +0100 X-SourceIP: 85.127.219.79 Received: from wolfgang by iznogoud.viz with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1Ztduv-0000xE-5Q; Tue, 03 Nov 2015 16:54:37 +0100 From: Wolfgang Jenkner To: Pedro Giffuni Cc: Baptiste Daroussin , current@FreeBSD.org Subject: Re: [CFT] Unicode collation string and reworked locale definitions Date: Tue, 03 Nov 2015 16:52:52 +0100 References: <20151103071758.GC31432@ivaldir.etoilebsd.net> Message-ID: <854mh3cc3m.fsf@iznogoud.viz> User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Tue, 03 Nov 2015 17:20:20 +0000 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 15:54:47 -0000 On Tue, Nov 03 2015, Pedro Giffuni wrote: > What worries me about libtre is that it lacks important functionality lik= e 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: > > https://svnweb.freebsd.org/base?view=3Drevision&revision=3D268066 It supports \< and \> out of the box, cf. https://github.com/laurikari/tre/blob/master/doc/tre-syntax.html And the darwin patch mentioned above implements [[:<:]] and [[:>:]], see http://www.opensource.apple.com/source/Libc/Libc-1044.40.1/regex/TRE/lib/tr= e-parse.c That patch also implements the REG_STARTEND flag for regexec(3), which is needed for vi. Also, tre provides wchar versions for regcomp(3) and friends, so that nvi wouldn't need its own private regex library anymore.