From owner-freebsd-standards@FreeBSD.ORG Fri Jun 27 21:21:34 2014 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B3A8ADB5 for ; Fri, 27 Jun 2014 21:21:34 +0000 (UTC) Received: from nm41-vm9.bullet.mail.bf1.yahoo.com (nm41-vm9.bullet.mail.bf1.yahoo.com [216.109.114.138]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3C9792E29 for ; Fri, 27 Jun 2014 21:21:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1403903713; bh=2lClpdUYfsGClOKA/G6yXC4GqreYsNXfTHH77fLZC6M=; h=Received:Received:Received:X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc:Content-Transfer-Encoding:Message-Id:References:To:X-Mailer; b=bzp3V95MOy47WWU8LZr6GhETL+r3GLnaYBYTskDwh6nZd3m5KkfyXsJAHY+u2TwbG3flXEXlJ8KVtUZTeW4mnCOhETEGY2z1Twrcdgkbz3PPHNzVrB4FWOTz7FyV2DBleUf+OByIuse/rTMljbYkTH6qxZWEkLWKXbf6Xqa6e84lQvdbUxjoMN/GEtpZfB8GUweClF93T+JPTkM+ghWGmpHiWkmF0oTPDXzymnf6cTpUZPsC+DOrdajKorrqJXA80pPVuYlffYYGYV7N+9/R440srGeKs9ZPQudyh4UZVFyA1BQLVxRLFagXFNrrdBVZVokktr975pf5eJLz4zIjFQ== DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s2048; d=yahoo.com; b=MzxvussMSQh1TY8zBFZMBdx/uZLSlKWSk0Hi+me17TFd/5XHKfPoGsOKjJ6IHpjgg8Gt3BqTv3D0ioio1evtR0gN8uoKEsN9+P32W3k4fzU9WihkPAGYYN6d9YNPK8dKDZ1AK3oM/26zfKJWt6s0J4su8ChSjvGQXfeFz42Sw9C0QpHXkPp4lmHeuCkauJOh3fFYUf0O3QNdQF4QtLCdGIvTYaTLMKlchYyfPLztnIn5iSCcrsKkFVdlKX4qeMfXO+HxhkQEW95JYqu28MYKFkU1rJlFZM9QldkuzrripZjjzLbHTBL+wFO93tDCnjUvOT7pWJkpy/8fRu/yOQ5olg==; Received: from [66.196.81.171] by nm41.bullet.mail.bf1.yahoo.com with NNFMP; 27 Jun 2014 21:15:13 -0000 Received: from [98.139.211.193] by tm17.bullet.mail.bf1.yahoo.com with NNFMP; 27 Jun 2014 21:15:13 -0000 Received: from [127.0.0.1] by smtp202.mail.bf1.yahoo.com with NNFMP; 27 Jun 2014 21:15:13 -0000 X-Yahoo-Newman-Id: 459390.99553.bm@smtp202.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: DdKBSmwVM1l.EqAH9R7SSLw95qL_91P7HlcIvuE5BYWsu72 E_Hyw37FLVRcPVMVn2QniEJShp5UR40F2rLy17kbxCa4ii8Gmy6VbadLRF6t m8.GNABsGaXaOOBpvYfymoy3b7nCKuLmjHW0fi6hdDqh1CpMHyR0VQ.r9Kji ZZ5g2pSwRbdkNMwgbLCb8mtJtgD3gWiU.BbvfzqpWqEoV5Gck2QdmoYucU9a mowWC8I5jbgvmwUGkb3j3JE49yyzluzsOcRfw9hdIjNLXYfCQVDVQtmM_zQ1 tJjVZfGiW.qQ2vUg1vejKcNbbDlmw7Rmzhpj5tIx7NemaFyV8F7gom58F7YT 8DO82vKy75ciyAMfN1kL2Y3T_YmHz9_vtbHmxUC4Siqb7qQEgpP1H6dGgcSz .1zSBokHHIsp3gHjD1nOK8mqfQQDjSgHuxBmycuw5FYGOd1sefoVIudB2ZyI uIaZTTxt4cebdWjuIB2f2zxhgR4X0dX8w4tGbAwBEJlugV4BA1BqMDDSMj20 fQyfssNoP6HxTIctgc9V0872s0ugrVB5M4uNwNOQS6GMFnM72rvb2t7inZUv ijORV_Y.0CbH9Qr4HQtLXeRaNtps52ESqzlkBpBrCvCrEwpU- X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf X-Rocket-Received: from [192.168.0.101] (pfg@190.157.126.109 with plain [98.139.211.125]) by smtp202.mail.bf1.yahoo.com with SMTP; 27 Jun 2014 14:15:13 -0700 PDT Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) Subject: Re: regex(3): support for \< and \> word delimiters From: Pedro Giffuni In-Reply-To: <53ADD32C.5040503@FreeBSD.org> Date: Fri, 27 Jun 2014 16:15:11 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <20545470-A847-4835-A42B-382E5CC363ED@freebsd.org> References: <53556919.4010305@freebsd.org> <53ADD32C.5040503@FreeBSD.org> To: Bryan Drewery X-Mailer: Apple Mail (2.1878.2) Cc: freebsd-standards@FreeBSD.org X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2014 21:21:34 -0000 Hi; Il giorno 27/giu/2014, alle ore 15:25, Bryan Drewery = ha scritto: > On 4/21/2014 1:53 PM, Pedro Giffuni wrote: >> Hello; >>=20 >> Is there any related standard (or in absence strong feelings) >> about having \< and \> delimiters in regex expressions? >>=20 >> I have an old PR bin/153257 which actually comes from illumos: >> https://www.illumos.org/issues/516 >>=20 >> I don't use them but maybe it would help people moving their >> scripts from Solaris. >>=20 >> Regards, >>=20 >> Pedro. >=20 > I don't know about a standard, but I find the lack of \< \> to be a > frustrating difference with other platforms. [[:<:]] [[:>:]] work but > are far more characters to type. >=20 Thank you for the feedback! I had closed the issue because I thought = there was no interest. Another thing that needed consideration was that I thought there was = some work going on to replace libregex with libtre, which doesn=92t = support *any* such delimiter so committing the change would raise the = bar for the replacement. Discussing it with Gabor it seems like libtre = is not in the capacity of replacing our current libregex anyways so I = guess Spencer=92s libregex is here to stay. While here, there is also the sed(1) syntax issue: https://www.illumos.org/issues/586 Adopting both changes would probably reduce to a minimum the use of GNU = sed in the ports tree, but such changes are likely to be = controversial(?) and I don=92t feel like wearing asbestos underwear at = this time .. at least not for sed ;). Pedro.