summaryrefslogtreecommitdiff
path: root/pod/perlre.pod
diff options
context:
space:
mode:
authorIlya Zakharevich <ilya@math.berkeley.edu>1999-08-29 12:46:53 -0400
committerJarkko Hietaniemi <jhi@iki.fi>1999-08-30 02:57:05 +0000
commit4a2d328fcdc90a0fcbd435b479571aad60159771 (patch)
tree462cf5ff96f435b65c4ea7c9cbcc12daf97821a3 /pod/perlre.pod
parentd4bea2fb9d94a2ce4ff340ae9eab604f38ab2d31 (diff)
downloadperl-4a2d328fcdc90a0fcbd435b479571aad60159771.tar.gz
Use \N{named characters} instead of \C.
To: jhi@iki.fi Cc: larry@wall.org (Larry Wall), Tim.Bunce@ig.co.uk (Tim Bunce), perl5-porters@perl.org (Mailing list Perl5) Subject: Re: [PATCH 5.005_58] Named characters in Perl Message-Id: <199908292046.QAA05510@monk.mps.ohio-state.edu> p4raw-id: //depot/cfgperl@4052
Diffstat (limited to 'pod/perlre.pod')
-rw-r--r--pod/perlre.pod6
1 files changed, 3 insertions, 3 deletions
diff --git a/pod/perlre.pod b/pod/perlre.pod
index a1a118f371..76f345de35 100644
--- a/pod/perlre.pod
+++ b/pod/perlre.pod
@@ -149,7 +149,7 @@ also work:
\x1B hex char
\x{263a} wide hex char (Unicode SMILEY)
\c[ control char
- \C{name} named char
+ \N{name} named char
\l lowercase next char (think vi)
\u uppercase next char (think vi)
\L lowercase till \E (think vi)
@@ -159,7 +159,7 @@ also work:
If C<use locale> is in effect, the case map used by C<\l>, C<\L>, C<\u>
and C<\U> is taken from the current locale. See L<perllocale>. For
-documentation of C<\C{name}>, see L<charnames>.
+documentation of C<\N{name}>, see L<charnames>.
You cannot include a literal C<$> or C<@> within a C<\Q> sequence.
An unescaped C<$> or C<@> interpolates the corresponding variable,
@@ -178,7 +178,7 @@ In addition, Perl defines the following:
\PP Match non-P
\X Match eXtended Unicode "combining character sequence",
equivalent to C<(?:\PM\pM*)>
- \O Match a single C char (octet) even under utf8.
+ \C Match a single C char (octet) even under utf8.
A C<\w> matches a single alphanumeric character, not a whole word.
Use C<\w+> to match a string of Perl-identifier characters (which isn't