On Mon, Sep 01, 2014 at 12:41:37AM -0400, Ted Unangst wrote: > On Mon, Sep 01, 2014 at 14:03, Jonathan Gray wrote: > > This adds support for using the SVR4/glibc word delimeters > > in regcomp as an extension to what posix requires. > > > > We already have [[:<:]] and [[:>:]] as extensions, apparently > > from 'Henry Spencer's Alpha 3.0 regex release' back in 1993. > > > > But now Solaris/Linux/FreeBSD all have the other syntax > > and sadly lots of uses of grep and sed in what are supposed > > to be portable projects use it. > > > > This diff is from Garrett D'Amore in Illumos via FreeBSD. > > https://www.illumos.org/issues/516 > > I have a slight preference for my diff (I think it's clearer than > deeper nested switches), but no matter. > > http://marc.info/?l=openbsd-tech&m=131094975127745&w=2
I'd be fine with that one going in as well. Are there any reasons not to add it? I don't see a portable alternative here as brought up by Mark in that thread, and the only "if it's supported on the majority of UNIX-ike operating system" comment seems to be true?
