This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Use of \N{} will be fatal in 5.28.
[perl5.git] / t / lib / warnings / regcomp
index 08cb27b..2b084c5 100644 (file)
@@ -93,11 +93,11 @@ no warnings 'deprecated';
 qr/[\N{}]/;
 qr/\N{}/;
 EXPECT
-Unknown charname '' is deprecated at - line 2.
+Unknown charname '' is deprecated. Its use will be fatal in Perl 5.28 at - line 2.
 Ignoring zero length \N{} in character class in regex; marked by <-- HERE in m/[\N{} <-- HERE ]/ at - line 2.
-Unknown charname '' is deprecated at - line 3.
-Unknown charname '' is deprecated at - line 5.
-Unknown charname '' is deprecated at - line 6.
+Unknown charname '' is deprecated. Its use will be fatal in Perl 5.28 at - line 3.
+Unknown charname '' is deprecated. Its use will be fatal in Perl 5.28 at - line 5.
+Unknown charname '' is deprecated. Its use will be fatal in Perl 5.28 at - line 6.
 ########
 # NAME [perl #123417]
 # OPTION fatal
@@ -106,7 +106,7 @@ no warnings 'experimental::re_strict';
 use re 'strict';
 qr/[\N{}]/;
 EXPECT
-Unknown charname '' is deprecated at - line 5.
+Unknown charname '' is deprecated. Its use will be fatal in Perl 5.28 at - line 5.
 Zero length \N{} in regex; marked by <-- HERE in m/[\N{} <-- HERE ]/ at - line 5.
 ########
 # NAME [perl #123417]
@@ -116,5 +116,5 @@ no warnings 'experimental::re_strict';
 use re 'strict';
 qr/\N{}/;
 EXPECT
-Unknown charname '' is deprecated at - line 5.
+Unknown charname '' is deprecated. Its use will be fatal in Perl 5.28 at - line 5.
 Zero length \N{} in regex; marked by <-- HERE in m/\N{} <-- HERE / at - line 5.