summary refs log tree commit diff
path: root/posix/bug-regex19.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/bug-regex19.c')
-rw-r--r--posix/bug-regex19.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/posix/bug-regex19.c b/posix/bug-regex19.c
index f24e0aa730..4000b19b4d 100644
--- a/posix/bug-regex19.c
+++ b/posix/bug-regex19.c
@@ -246,6 +246,9 @@ static struct test_s
   {ERE, "(\\<|[A].)[A~C]", "DACC", 0, 1},
   {ERE, "(\\<|[A].)[A~C]", "B!A=", 0, 2},
   {ERE, "(\\<|[A].)[A~C]", "B~C", 0, 2},
+  {ERE, "^[^A]*\\bB", "==B", 0, 0},
+  {ERE, "^[^A]*\\bB", "CBD!=B", 0, 0},
+  {ERE, "[^A]*\\bB", "==B", 2, 2}
 };
 
 int