]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libregex: implement \` and \' (begin-of-subj, end-of-subj)
authorkevans <kevans@FreeBSD.org>
Sat, 5 Dec 2020 03:13:47 +0000 (03:13 +0000)
committerkevans <kevans@FreeBSD.org>
Sat, 5 Dec 2020 03:13:47 +0000 (03:13 +0000)
commit888082f57b4a5bdde0d5ea697e4bd55791212f7c
tree92a4795df6ef937264cff3b82c0d24bdb8b6064c
parent35261ee29b67dce0a31655a717e3a19ec681c3ce
libregex: implement \` and \' (begin-of-subj, end-of-subj)

These are GNU extensions, generally equivalent to ^ and $ except that the
new syntax will not match beginning of line after the first in a multi-line
expression or the end of line before absolute last in a multi-line
expression.
lib/libc/regex/engine.c
lib/libc/regex/regcomp.c
lib/libc/regex/regex2.h
lib/libregex/tests/gnuext.in