summaryrefslogtreecommitdiff
path: root/t/re/re_tests
diff options
context:
space:
mode:
Diffstat (limited to 't/re/re_tests')
-rw-r--r--t/re/re_tests12
1 files changed, 12 insertions, 0 deletions
diff --git a/t/re/re_tests b/t/re/re_tests
index 7e7fc855f7..4d89e69e70 100644
--- a/t/re/re_tests
+++ b/t/re/re_tests
@@ -1737,3 +1737,15 @@ ab[c\\\](??{"x"})]{3}d ab\\](d y - -
m?^xy\?$? xy? y $& xy?
# vim: softtabstop=0 noexpandtab
+/[#]/ a#b y $& #
+/[#]b/ a#b y $& #b
+/[#]/x a#b y $& #
+/[#]b/x a#b y $& #b
+/[#](?{})/x a#b y $& #
+/[#](??{'b'})/x a#b y $& #b
+/(?#)(?{})b/ a#b y $& b
+/(?#)(??{'b'})/ a#b y $& b
+/[(?#](?{})b/ a#b y $& #b
+/[(?#](??{'b'})/ a#b y $& #b
+/(?#)(?{})b/x a#b y $& b
+/(?#)(??{'b'})/x a#b y $& b