Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
C: defer REGCOMP for \P{} properties
add a re_does_swash() detector (sans the utf8 case folding). the re pmflags nor the extflags cannot tell use precisely when a regex will need a swash_init, which needs to be deferred to init1. so check manually if the regex contains a unicode property syntax \P{}. change $sv->EXTFLAGS to compflags since 5.22 for CALLREGCOMP() Fixes #253 for 5.24, but breaks one swash_init test: t/issue242.t
- Loading branch information
Reini Urban
committed
Sep 12, 2016
1 parent
d339f13
commit 8027b64
Showing
1 changed file
with
26 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters