summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2020-12-05 03:16:05 +0000
committerKyle Evans <kevans@FreeBSD.org>2020-12-05 03:16:05 +0000
commit6b986646d434baa21ae3d74d6a662ad206c7ddbd (patch)
tree11153e51ca240d2b5256c0f35e6d0f9feeaeca1b /contrib
parentca53e5aedfebcc1b4091b68e01b2d5cae923f85e (diff)
downloadsrc-test-6b986646d434baa21ae3d74d6a662ad206c7ddbd.tar.gz
src-test-6b986646d434baa21ae3d74d6a662ad206c7ddbd.zip
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.
Notes
Notes: svn path=/head/; revision=368358
Diffstat (limited to 'contrib')
-rw-r--r--contrib/netbsd-tests/lib/libc/regex/data/meta.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/netbsd-tests/lib/libc/regex/data/meta.in b/contrib/netbsd-tests/lib/libc/regex/data/meta.in
index eb24075aea622..b8f14aad8c744 100644
--- a/contrib/netbsd-tests/lib/libc/regex/data/meta.in
+++ b/contrib/netbsd-tests/lib/libc/regex/data/meta.in
@@ -5,7 +5,7 @@ a\*c & a*c a*c
a\\b & a\b a\b
a\\\*b & a\*b a\*b
# Begin FreeBSD
-a\bc &C EESCAPE
+a\bc & abc
# End FreeBSD
a\ &C EESCAPE
a\\bc & a\bc a\bc