summaryrefslogtreecommitdiff
path: root/t/re/reg_mesg.t
diff options
context:
space:
mode:
Diffstat (limited to 't/re/reg_mesg.t')
-rw-r--r--t/re/reg_mesg.t2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/re/reg_mesg.t b/t/re/reg_mesg.t
index 8482425731..6ec5d94534 100644
--- a/t/re/reg_mesg.t
+++ b/t/re/reg_mesg.t
@@ -188,6 +188,8 @@ my @death =
'/[z-a]/' => 'Invalid [] range "z-a" {#} m/[z-a{#}]/',
'/\p/' => 'Empty \p {#} m/\p{#}/',
+ '/\P/' => 'Empty \P {#} m/\P{#}/',
+ '/\p{}/' => 'Empty \p{} {#} m/\p{{#}}/',
'/\P{}/' => 'Empty \P{} {#} m/\P{{#}}/',
'/a\b{cde/' => 'Missing right brace on \b{} {#} m/a\b{{#}cde/',