|
|
b8876f |
From d730a80128abafff1e47e2506c23a8c1a06cfef4 Mon Sep 17 00:00:00 2001
|
|
|
b8876f |
From: Yves Orton <demerphq@gmail.com>
|
|
|
b8876f |
Date: Sun, 18 Jun 2017 23:44:07 +0200
|
|
|
b8876f |
Subject: [PATCH 2/2] add test for [perl #131522] and fix test for (related)
|
|
|
b8876f |
[perl #127581]
|
|
|
b8876f |
MIME-Version: 1.0
|
|
|
b8876f |
Content-Type: text/plain; charset=UTF-8
|
|
|
b8876f |
Content-Transfer-Encoding: 8bit
|
|
|
b8876f |
|
|
|
b8876f |
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
|
|
b8876f |
---
|
|
|
b8876f |
t/re/reg_mesg.t | 4 ++--
|
|
|
b8876f |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
b8876f |
|
|
|
b8876f |
diff --git a/t/re/reg_mesg.t b/t/re/reg_mesg.t
|
|
|
b8876f |
index 090eccb..a0b78c4 100644
|
|
|
b8876f |
--- a/t/re/reg_mesg.t
|
|
|
b8876f |
+++ b/t/re/reg_mesg.t
|
|
|
b8876f |
@@ -221,7 +221,6 @@ my @death =
|
|
|
b8876f |
'/(?[[[::]]])/' => "Syntax error in (?[...]) in regex m/(?[[[::]]])/",
|
|
|
b8876f |
'/(?[[[:w:]]])/' => "Syntax error in (?[...]) in regex m/(?[[[:w:]]])/",
|
|
|
b8876f |
'/(?[[:w:]])/' => "",
|
|
|
b8876f |
- '/[][[:alpha:]]' => "", # [perl #127581]
|
|
|
b8876f |
'/([.].*)[.]/' => "", # [perl #127582]
|
|
|
b8876f |
'/[.].*[.]/' => "", # [perl #127604]
|
|
|
b8876f |
'/(?[a])/' => 'Unexpected character {#} m/(?[a{#}])/',
|
|
|
b8876f |
@@ -587,7 +586,8 @@ my @warning = (
|
|
|
b8876f |
'Assuming NOT a POSIX class since a semi-colon was found instead of a colon {#} m/[foo;{#}punct;]]\x{100}/',
|
|
|
b8876f |
'Assuming NOT a POSIX class since a semi-colon was found instead of a colon {#} m/[foo;punct;]{#}]\x{100}/',
|
|
|
b8876f |
],
|
|
|
b8876f |
-
|
|
|
b8876f |
+ '/[][[:alpha:]]/' => "", # [perl #127581]
|
|
|
b8876f |
+ '/[][[:alpha:]\\@\\\\^_?]/' => "", # [perl #131522]
|
|
|
b8876f |
); # See comments before this for why '\x{100}' is generally needed
|
|
|
b8876f |
|
|
|
b8876f |
# These need the character 'ネ' as a marker for mark_as_utf8()
|
|
|
b8876f |
--
|
|
|
b8876f |
2.9.4
|
|
|
b8876f |
|