This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
PATCH: perldelta entry for [\8] [perl #76840] fix.
authorKarl Williamson <public@khwilliamson.com>
Thu, 16 Sep 2010 19:26:07 +0000 (13:26 -0600)
committerRafael Garcia-Suarez <rgs@consttype.org>
Fri, 17 Sep 2010 09:34:10 +0000 (11:34 +0200)
pod/perldelta.pod

index 6b77887..1907863 100644 (file)
@@ -609,6 +609,14 @@ reference to a copy of a glob:
 This was a mistake, and the previous behaviour from perl 5.10 and 5.12, which is
 to treat \$var as a scalar reference, has now been restored.
 
+=item *
+
+The regular expression bracketed character class C<[\8\9]> was
+effectively the same as C<[89\000]>, incorrectly matching a NULL character.
+It also gave incorrect warnings that the C<8> and C<9> were ignored.
+Now C<[\8\9]> is the same as C<[89]> and gives legitimate warnings that
+C<\8> and C<\9> are unrecognized escape sequences, passed-through.
+
 =back
 
 =head1 Known Problems