HomeFreeBSD

libregex: implement \b and \B (word boundary, not word boundary)

Description

libregex: implement \b and \B (word boundary, not word boundary)

This is the last of the needed GNU expressions before we can unleash bsdgrep
by default. \b is effectively an agnostic equivalent of \< and \>, while
\B will match every space that isn't making a transition from
nonchar -> char or char -> nonchar.

Details

Provenance
kevansAuthored on
Parents
rS368357: libregex: implement \` and \' (begin-of-subj, end-of-subj)
Branches
Unknown
Tags
Unknown