summaryrefslogtreecommitdiff
path: root/t/op/regmesg.t
diff options
context:
space:
mode:
Diffstat (limited to 't/op/regmesg.t')
-rw-r--r--t/op/regmesg.t2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/op/regmesg.t b/t/op/regmesg.t
index 05688b4a96..1b613ed351 100644
--- a/t/op/regmesg.t
+++ b/t/op/regmesg.t
@@ -98,6 +98,8 @@ my @death =
'm/[a-\d]/' => 'False [] range "a-\d" in regex; marked by {#} in m/[a-\d{#}]/',
'm/[\w-x]/' => 'False [] range "\w-" in regex; marked by {#} in m/[\w-{#}x]/',
+ 'm/[a-\pM]/' => 'False [] range "a-\pM" in regex; marked by {#} in m/[a-\pM{#}]/',
+ 'm/[\pM-x]/' => 'False [] range "\pM-" in regex; marked by {#} in m/[\pM-{#}x]/',
"m'\\y'" => 'Unrecognized escape \y passed through in regex; marked by {#} in m/\y{#}/',
);