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 Dec 5 2020, 3:16 AM
Parents
rGca53e5aedfeb: libregex: implement \` and \' (begin-of-subj, end-of-subj)
Branches
Unknown
Tags
Unknown