summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2015-07-27 22:45:31 -0600
committerKarl Williamson <khw@cpan.org>2015-07-28 22:15:58 -0600
commitbf4268faa8496da74302d7b5ee786c51f77a322f (patch)
treeefccc1a88a205a75950043c6c5b5dbbb910f22ac /regexec.c
parent02f811ddf7c78de43affe51e3337e3a4be99f9df (diff)
downloadperl-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regexec.c b/regexec.c
index 5beed034b3..f2517e5022 100644
--- a/regexec.c
+++ b/regexec.c
@@ -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