summaryrefslogtreecommitdiff
path: root/pod/perlre.pod
diff options
context:
space:
mode:
authorKarl Williamson <khw@khw-desktop.(none)>2010-02-25 12:35:14 -0700
committerJesse Vincent <jesse@bestpractical.com>2010-02-28 10:15:19 -1000
commite526e8bb0a50d374ea99b823a0b7ebc449c4cb0b (patch)
treec266202bf5157c3449f3b40d913d12f8ed803da2 /pod/perlre.pod
parent6f335b04a25eb6e19a2d2c9136ef3c994601c41d (diff)
downloadperl-e526e8bb0a50d374ea99b823a0b7ebc449c4cb0b.tar.gz
Document \N{U+...}
Diffstat (limited to 'pod/perlre.pod')
-rw-r--r--pod/perlre.pod5
1 files changed, 4 insertions, 1 deletions
diff --git a/pod/perlre.pod b/pod/perlre.pod
index f82d196e26..f98fba7a27 100644
--- a/pod/perlre.pod
+++ b/pod/perlre.pod
@@ -226,6 +226,7 @@ X<\0> X<\c> X<\N> X<\x>
\x{263a} long hex char (example: Unicode SMILEY)
\cK control char (example: VT)
\N{name} named Unicode character
+ \N{U+263D} Unicode character (example: FIRST QUARTER MOON)
\l lowercase next char (think vi)
\u uppercase next char (think vi)
\L lowercase till \E (think vi)
@@ -302,7 +303,9 @@ use C<\v> instead (vertical whitespace).
X<\R>
Note that C<\N> has two meanings. When of the form C<\N{NAME}>, it matches the
-character whose name is C<NAME>. Otherwise it matches any character but C<\n>.
+character whose name is C<NAME>; and similarly when of the form
+C<\N{U+I<wide hex char>}>, it matches the character whose Unicode ordinal is
+I<wide hex char>. Otherwise it matches any character but C<\n>.
The POSIX character class syntax
X<character class>