diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-11-02 05:18:45 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-11-02 05:18:45 +0000 |
commit | b4e400f9f0f3998e635cdce0c2d2e790cbe42caa (patch) | |
tree | b638c44345271b6f0f9020e6ccc262fb9c21b4c5 /perlapi.h | |
parent | 18e548ce1d77b525add551f80ef335f852cf9389 (diff) | |
download | perl-b4e400f9f0f3998e635cdce0c2d2e790cbe42caa.tar.gz |
Unicode: add ToFold mapping. Not used yet; but basically
a more useful mapping for caseless aka case-ignoring than
doing either lc($a) eq lc($b) or uc($a) eq uc($b); the full
algorithm for creating the foldings uses equivalence classes,
see http://www.unicode.org/unicode/reports/tr21/
Hopefully this feature will be used in //i.
(The folding tables were introduced by #12689.)
p4raw-id: //depot/perl@12807
Diffstat (limited to 'perlapi.h')
-rw-r--r-- | perlapi.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -573,6 +573,8 @@ END_EXTERN_C #define PL_utf8_punct (*Perl_Iutf8_punct_ptr(aTHX)) #undef PL_utf8_space #define PL_utf8_space (*Perl_Iutf8_space_ptr(aTHX)) +#undef PL_utf8_tofold +#define PL_utf8_tofold (*Perl_Iutf8_tofold_ptr(aTHX)) #undef PL_utf8_tolower #define PL_utf8_tolower (*Perl_Iutf8_tolower_ptr(aTHX)) #undef PL_utf8_totitle |