diff options
author | Karl Williamson <khw@cpan.org> | 2017-12-23 12:39:16 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2017-12-24 17:12:03 -0700 |
commit | 226b74db842dc6466710b278cae98a80b0f77458 (patch) | |
tree | e10b233b09d56bbebc11e8fe39ced47499f9e253 /cop.h | |
parent | 39c4defe660921fe7b772ebc0f18b2473a6c5a4c (diff) | |
download | perl-226b74db842dc6466710b278cae98a80b0f77458.tar.gz |
regen/mk_invlists.pl: Simplify handling of early Unicode releases
Several Unicode properties are used internally in regex matching, for
example \b{wb} and \X. The code is supposed to compile and work as best
it can on all Unicode releases. But the rules for these have been
expanded by Unicode over the years, including new types of boundary
conditions. Each such type is given an enum value in an enum type for
the given boundary. For early Unicodes, this enum isn't present.
This commit simplifies how this generating code copes with this,
removing the hard-coded lists in favor of using a different mechanism
already in place for handling slightly different circumstances.
Diffstat (limited to 'cop.h')
0 files changed, 0 insertions, 0 deletions