summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2019-11-18 13:17:53 -0700
committerKarl Williamson <khw@cpan.org>2019-11-18 13:18:34 -0700
commita1e5b70092f67a00e1c13c834de719a887462e36 (patch)
tree3f34449b9bed6982adfb0a3dd6b5a82c3979ac4a
parenta7c67fbc4630516d64513685b1fcf59fc04801d2 (diff)
downloadperl-a1e5b70092f67a00e1c13c834de719a887462e36.tar.gz
Updates to perldelta
-rw-r--r--pod/perldelta.pod21
1 files changed, 21 insertions, 0 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index 56ca0509b9..86db762037 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -394,6 +394,23 @@ call them with one argument. This has been fixed by declaring them to have
one parameter. See the merge commit C<v5.31.5-346-g116e19abbf> for full
details.
+=item *
+
+The code that handles C<tr///> has been extensively revised, fixing
+various bugs, especially when the source and/or replacement strings
+contain characters whose code points are above 255. Some of the bugs
+were undocumented, one being that under some circumstances (but not all)
+with C</s>, the squeezing was done based on the source, rather than the
+replacement. A documented bug that got fixed was [perl RT #125493].
+
+=item *
+
+A new macro for XS writers dealing with UTF-8-encoded Unicode strings
+has been created L<perlapi/C<UTF8_CHK_SKIP>> that is safer in the face
+of malformed UTF-8 input than L<perlapi/C<UTF8_SKIP>> (but not as safe
+as L<perlapi/C<UTF8_SAFE_SKIP>>). It won't read past a NUL character.
+It has been backported in L<Devel::PPPort> 3.55 and later.
+
=back
=head1 Selected Bug Fixes
@@ -420,6 +437,10 @@ The tokenizer has been extensively refactored. [#17241][#17189]
C<use strict "subs"> is now enforced for bareword constants optimized
into a C<multiconcat> operator. [#17254]
+=item *
+
+A memory leak in regular expression patterns has been fixed [#17218].
+
=back
=head1 Known Problems