summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/re/re_tests4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/re/re_tests b/t/re/re_tests
index a3179049eb..ae28e141e1 100644
--- a/t/re/re_tests
+++ b/t/re/re_tests
@@ -1740,4 +1740,8 @@ m?^xy\?$? xy? y $& xy?
# patterns
^(\x{100}|a)(??{ qr/.?\xF7/d}) a_\xF7 y - -
+# [perl #118375]
+/(a|(bc)){0,0}?xyz/ xyz y $& xyz
+/( a | ( bc ) ) {0,0} ? xyz/x xyz y $& xyz
+
# vim: softtabstop=0 noexpandtab