summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2013-06-13 21:02:36 +0200
committerYves Orton <demerphq@gmail.com>2013-06-13 21:15:00 +0200
commit5f3789aabfaf43d0b9aacbc4e2bf168d1db0e9f2 (patch)
tree0d24793a63dae00653e94e12a14d9ea61e31f5b3 /t
parent6fd8c33ab8e814d9071f229419b493eea5a6df0f (diff)
downloadperl-5f3789aabfaf43d0b9aacbc4e2bf168d1db0e9f2.tar.gz
Possessive and non greedy quantifier modifiers are mutually exclusive
When I added support for possessive modifiers it was possible to build perl so that they could be combined even if it made no sense to do so. Later on in relation to Perl #118375 I got confused and thought they were undocumented but legal. So to prevent further confusion, and since nobody has every mentioned it since they were added, I am removing the unusued conditional build logic, and clearly documenting why they aren't allowed.
Diffstat (limited to 't')
-rw-r--r--t/re/re_tests3
1 files changed, 0 insertions, 3 deletions
diff --git a/t/re/re_tests b/t/re/re_tests
index 45018df71b..de7d590a31 100644
--- a/t/re/re_tests
+++ b/t/re/re_tests
@@ -1747,7 +1747,4 @@ m?^xy\?$? xy? y $& xy?
/(a|(bc)){0,0}+xyz/ xyz y $& xyz
/( a | ( bc ) ) {0,0} + xyz/x xyz y $& xyz
-/(a|(bc)){0,0}?xyz/ xyz y $& xyz
-/( a | ( bc ) ) {0,0} ? + xyz/x xyz y $& xyz
-
# vim: softtabstop=0 noexpandtab