diff options
author | Karl Williamson <public@khwilliamson.com> | 2010-09-23 20:47:03 -0600 |
---|---|---|
committer | Steffen Mueller <smueller@cpan.org> | 2010-09-25 11:15:31 +0200 |
commit | 9c68f0abf07d540a547ec774305849d8cf1f3dfe (patch) | |
tree | e5fbd1eee63fa150db700a9e9411607207a31417 /taint.c | |
parent | 271b5cb31d498243788ba704c149a346f82b8e04 (diff) | |
download | perl-9c68f0abf07d540a547ec774305849d8cf1f3dfe.tar.gz |
Add 256 word bit table of character classes
This patch adds a table for looking up character classes. It is 256
words long, in l1_char_class_tab.h, with each word corresponding to the
ordinal of a Latin1 character, and each word contains a bit map of all
the properties that character matches. Each property has a bit or two.
Ones named _CC_property_A are true only if the character is also in the
ASCII character set. Ones named CC_property_L1 do not have this
restriction. (L1 stands for Latin1.)
Also added is a script that generates the table. It is not anticipated
that this will need to be used often.
(This commit was changed from its original form by Steffen.)
Diffstat (limited to 'taint.c')
0 files changed, 0 insertions, 0 deletions