diff options
author | Karl Williamson <khw@cpan.org> | 2015-07-27 22:45:31 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2015-07-28 22:15:58 -0600 |
commit | bf4268faa8496da74302d7b5ee786c51f77a322f (patch) | |
tree | efccc1a88a205a75950043c6c5b5dbbb910f22ac /regexec.c | |
parent | 02f811ddf7c78de43affe51e3337e3a4be99f9df (diff) | |
download | perl-bf4268faa8496da74302d7b5ee786c51f77a322f.tar.gz |
mktables: Add handling of WB and SB for early Unicodes
This allows \b{wb} and \b{sb} to work on all Unicode releases. The huge
number of differences in charclass_invlists.h is only because the names
of the SB and WB tables change, and the code automatically
re-alphabetizes things.
Diffstat (limited to 'regexec.c')
-rw-r--r-- | regexec.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1766,7 +1766,7 @@ REXEC_FBC_SCAN( /* Loops while (s < strend) */ \ #define getSB_VAL_CP(cp) \ _generic_GET_BREAK_VAL_CP( \ PL_SB_invlist, \ - Sentence_Break_invmap, \ + _Perl_SB_invmap, \ (cp)) /* Returns the SB value for the first code point in the UTF-8 encoded string @@ -1778,7 +1778,7 @@ REXEC_FBC_SCAN( /* Loops while (s < strend) */ \ #define getWB_VAL_CP(cp) \ _generic_GET_BREAK_VAL_CP( \ PL_WB_invlist, \ - Word_Break_invmap, \ + _Perl_WB_invmap, \ (cp)) /* Returns the WB value for the first code point in the UTF-8 encoded string |