summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-04-28 17:18:26 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-04-28 17:18:26 +0000
commit9fdf68be0731526d7d18a86c19f0b68d4946728d (patch)
tree7721dfaffe4f678bff14354d99040e1636d5e49c /pod
parent78be1e1a8879b539ff74d40f43ada67390ef7d6d (diff)
downloadperl-9fdf68be0731526d7d18a86c19f0b68d4946728d.tar.gz
Add a level of indirection to the implementation of \p{InFoo}
so that we don't have to have long filenames. (Nothing changes in the user interface.) The indirection is defined in the file lib/unicode/In.pl and it is handled in lib/utf8_heavy.pl. Also rename some the character classes by removing '-' from the classnames, and finally renamed Block.pl as Blocks.pl. p4raw-id: //depot/perl@9897
Diffstat (limited to 'pod')
-rw-r--r--pod/perlunicode.pod9
1 files changed, 6 insertions, 3 deletions
diff --git a/pod/perlunicode.pod b/pod/perlunicode.pod
index 8ddcdd2b06..12bee5c7a3 100644
--- a/pod/perlunicode.pod
+++ b/pod/perlunicode.pod
@@ -158,9 +158,12 @@ Named Unicode properties and block ranges make be used as character
classes via the new C<\p{}> (matches property) and C<\P{}> (doesn't
match property) constructs. For instance, C<\p{Lu}> matches any
character with the Unicode uppercase property, while C<\p{M}> matches
-any mark character. Single letter properties may omit the brackets, so
-that can be written C<\pM> also. Many predefined character classes are
-available, such as C<\p{IsMirrored}> and C<\p{InTibetan}>.
+any mark character. Single letter properties may omit the brackets,
+so that can be written C<\pM> also. Many predefined character classes
+are available, such as C<\p{IsMirrored}> and C<\p{InTibetan}>. The
+names of the C<In> classes are the official Unicode block names but
+with all non-alphanumeric characters removed, for example the block
+name C<"Latin-1 Supplement"> becomes C<\p{InLatin1Supplement}>.
=item *