summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2011-04-12 11:25:37 -0600
committerKarl Williamson <public@khwilliamson.com>2011-04-12 12:34:50 -0600
commit0c96c706fef52effd833861ae408c0cedef51125 (patch)
tree36a60e86cecdfc4f0d59706ff12e4d9a45b463da /t
parent0a06cafa01b2bd0066e041822184a026c59925ba (diff)
downloadperl-0c96c706fef52effd833861ae408c0cedef51125.tar.gz
PATCH: [perl #86972]: Tweak error messages
An earlier commit in this series changed some error messages. I realized that it did not make sense really to use "/a" for the regex modifier, when the message was for the infix form "(?a:", so this just removes the slash.
Diffstat (limited to 't')
-rw-r--r--t/re/reg_mesg.t10
1 files changed, 5 insertions, 5 deletions
diff --git a/t/re/reg_mesg.t b/t/re/reg_mesg.t
index 827900f8fb..976798c132 100644
--- a/t/re/reg_mesg.t
+++ b/t/re/reg_mesg.t
@@ -64,11 +64,11 @@ my @death =
'/(?^-i)foo/' => 'Sequence (?^-...) not recognized in regex; marked by {#} in m/(?^-{#}i)foo/',
'/(?^d:foo)/' => 'Sequence (?^d...) not recognized in regex; marked by {#} in m/(?^d{#}:foo)/',
'/(?^d)foo/' => 'Sequence (?^d...) not recognized in regex; marked by {#} in m/(?^d{#})foo/',
- '/(?^lu:foo)/' => 'Regexp modifiers "/l" and "/u" are mutually exclusive in regex; marked by {#} in m/(?^lu{#}:foo)/',
- '/(?^lu)foo/' => 'Regexp modifiers "/l" and "/u" are mutually exclusive in regex; marked by {#} in m/(?^lu{#})foo/',
-'/(?da:foo)/' => 'Regexp modifiers "/d" and "/a" are mutually exclusive in regex; marked by {#} in m/(?da{#}:foo)/',
-'/(?lil:foo)/' => 'Regexp modifier "/l" may not appear twice in regex; marked by {#} in m/(?lil{#}:foo)/',
-'/(?aaia:foo)/' => 'Regexp modifier "/a" may appear a maximum of twice in regex; marked by {#} in m/(?aaia{#}:foo)/',
+ '/(?^lu:foo)/' => 'Regexp modifiers "l" and "u" are mutually exclusive in regex; marked by {#} in m/(?^lu{#}:foo)/',
+ '/(?^lu)foo/' => 'Regexp modifiers "l" and "u" are mutually exclusive in regex; marked by {#} in m/(?^lu{#})foo/',
+'/(?da:foo)/' => 'Regexp modifiers "d" and "a" are mutually exclusive in regex; marked by {#} in m/(?da{#}:foo)/',
+'/(?lil:foo)/' => 'Regexp modifier "l" may not appear twice in regex; marked by {#} in m/(?lil{#}:foo)/',
+'/(?aaia:foo)/' => 'Regexp modifier "a" may appear a maximum of twice in regex; marked by {#} in m/(?aaia{#}:foo)/',
'/((x)/' => 'Unmatched ( in regex; marked by {#} in m/({#}(x)/',