diff options
author | Karl Williamson <khw@khw-desktop.(none)> | 2010-06-29 12:54:33 -0600 |
---|---|---|
committer | Jesse Vincent <jesse@bestpractical.com> | 2010-07-04 21:43:41 +0100 |
commit | 16036bcd7f9da62470be71e47f19d0fce28c3089 (patch) | |
tree | d9a30d566ec09362c33c11f972913afa222801cf /pod/perlretut.pod | |
parent | 8f83713a0fdc58e06b20a13df9517aa04e8245cf (diff) | |
download | perl-16036bcd7f9da62470be71e47f19d0fce28c3089.tar.gz |
Add a number of abbrs and variants to \N{}
This patch adds the standard abbreviations for the control characters
(such as ACK, BEL, etc) to the repertoire that \N{} knows about. It
also adds a few common variants of their full names, and the old names
for the 4 controls that Unicode has chosen not to have any names at all
for.
The patch also adds all the abbreviations that Unicode lists in 5.2 for
longer characters, such as NBSP, SHY, LRE, ...
To preserve complete backward compatibilty for these and future changes,
user-defined aliases are now checked first, before these are.
As a performance enhancement, these aliases are mapped to their actual
code values instead of their full names which then had to be looked up
in the large table. Now that is avoided, and the table is not loaded
at all until a name is encountered that is not one of these aliases.
The pod and .t are updated.
Diffstat (limited to 'pod/perlretut.pod')
0 files changed, 0 insertions, 0 deletions