summaryrefslogtreecommitdiff
path: root/pod/perlretut.pod
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-03-04 17:24:49 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-03-04 17:24:49 +0000
commite0a47bd2cb14247750ebc5ca933bb1ba015aa70a (patch)
treefeb12685785610fc26e0613b0bdc2df24c76f4fa /pod/perlretut.pod
parent24f8da60e89a5ed99e35a315aa20cf528ac63c0e (diff)
downloadperl-e0a47bd2cb14247750ebc5ca933bb1ba015aa70a.tar.gz
Add the \N{U+HHHH} syntax.
p4raw-id: //depot/perl@9014
Diffstat (limited to 'pod/perlretut.pod')
-rw-r--r--pod/perlretut.pod6
1 files changed, 3 insertions, 3 deletions
diff --git a/pod/perlretut.pod b/pod/perlretut.pod
index a77b87e125..2647076234 100644
--- a/pod/perlretut.pod
+++ b/pod/perlretut.pod
@@ -1657,9 +1657,9 @@ or deciphering someone else's hexadecimal Unicode regexp is about as
much fun as programming in machine code. So another way to specify
Unicode characters is to use the S<B<named character> > escape
sequence C<\N{name}>. C<name> is a name for the Unicode character, as
-specified in the Unicode standard. For instance, if we wanted to
-represent or match the astrological sign for the planet Mercury, we
-could use
+specified in the Unicode standard, or "U+" followed by the hexadecimal
+code of the character. For instance, if we wanted to represent or
+match the astrological sign for the planet Mercury, we could use
use utf8; # We will be doing Unicode processing
use charnames ":full"; # use named chars with Unicode full names