summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2015-05-07 13:00:00 -0600
committerKarl Williamson <khw@cpan.org>2015-05-07 17:32:48 -0600
commit74fe8880c4667610a3b0aa9e8167fe1b407dc5c5 (patch)
tree232fa9d8a22030db881d3e9259557614be814c08
parentda0c31fa675d6f65c10f0b06995808926e429008 (diff)
downloadperl-74fe8880c4667610a3b0aa9e8167fe1b407dc5c5.tar.gz
perluniintro: Add note
Unicode ranges don't currently work in tr///
-rw-r--r--pod/perluniintro.pod7
1 files changed, 5 insertions, 2 deletions
diff --git a/pod/perluniintro.pod b/pod/perluniintro.pod
index 7a87874cd3..7ddf77c172 100644
--- a/pod/perluniintro.pod
+++ b/pod/perluniintro.pod
@@ -638,14 +638,17 @@ character classes that are Unicode-aware. There are dozens of them, see
L<perluniprops>.
Starting in v5.22, you can use Unicode code points as the end points of
-character ranges, and the range will include all Unicode code points
-that lie between those end points, inclusive.
+regular expression pattern character ranges, and the range will include
+all Unicode code points that lie between those end points, inclusive.
qr/ [\N{U+03]-\N{U+20}] /x
includes the code points
C<\N{U+03}>, C<\N{U+04}>, ..., C<\N{U+20}>.
+(It is planned to extend this behavior to ranges in C<tr///> in Perl
+v5.24.)
+
=item *
String-To-Number Conversions