summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2010-09-12 10:47:56 -0600
committerFather Chrysostomos <sprout@cpan.org>2010-09-25 00:47:02 -0700
commit06ee63cd8792bb62ac70a693a5f6e7af1a16ea05 (patch)
tree8db04213747f02dcac49713cff15abb6ac8de1be /pod
parent9deebca376903e87a5f8496ce3baf418d3e9d0b7 (diff)
downloadperl-06ee63cd8792bb62ac70a693a5f6e7af1a16ea05.tar.gz
perlrecharclass.pod: Add caveat about multi-char sequences
Inside a bracketed character class, any \N{name} which expands to more than one character will have only the first one considered. This doesn't need named character sequences, as user-defined aliases have long been able to be multi-char.
Diffstat (limited to 'pod')
-rw-r--r--pod/perlrecharclass.pod6
1 files changed, 4 insertions, 2 deletions
diff --git a/pod/perlrecharclass.pod b/pod/perlrecharclass.pod
index 7fcb92d421..5aa93486d5 100644
--- a/pod/perlrecharclass.pod
+++ b/pod/perlrecharclass.pod
@@ -350,8 +350,10 @@ C<\r>,
C<\t>,
and
C<\x>
-are also special and have the same meanings as they do outside a bracketed character
-class.
+are also special and have the same meanings as they do outside a
+bracketed character class. (However, inside a bracketed character
+class, if C<\N{I<NAME>}> expands to a sequence of characters, only the first
+one in the sequence is used, with a warning.)
Also, a backslash followed by two or three octal digits is considered an octal
number.