]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libregex: implement \` and \' (begin-of-subj, end-of-subj)
authorKyle Evans <kevans@FreeBSD.org>
Sat, 5 Dec 2020 03:13:47 +0000 (03:13 +0000)
committerKyle Evans <kevans@FreeBSD.org>
Sat, 5 Dec 2020 03:13:47 +0000 (03:13 +0000)
commitca53e5aedfebcc1b4091b68e01b2d5cae923f85e
tree92a4795df6ef937264cff3b82c0d24bdb8b6064c
parent7518fb346fe9603f99d2406a073b30fb8e4a270c
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