regex(3): support for \< and \> word delimiters

Bryan Drewery bdrewery at FreeBSD.org
Fri Jun 27 20:25:37 UTC 2014


On 4/21/2014 1:53 PM, Pedro Giffuni wrote:
> Hello;
> 
> Is there any related standard (or in absence strong feelings)
> about having \< and \> delimiters in regex expressions?
> 
> I have an old PR bin/153257 which actually comes from illumos:
> https://www.illumos.org/issues/516
> 
> I don't use them but maybe it would help people moving their
> scripts from Solaris.
> 
> Regards,
> 
> Pedro.

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.

-- 
Regards,
Bryan Drewery

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 553 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-standards/attachments/20140627/7d83339a/attachment.sig>


More information about the freebsd-standards mailing list