pcre: Workaround bug #81101 The way to fix it is to disable certain match start optimizaions. The observed performance impact appears negligible ATM, compared to the functional regre
pcre: Workaround bug #81101 The way to fix it is to disable certain match start optimizaions. The observed performance impact appears negligible ATM, compared to the functional regression revealed. A possible side effect might occur if a pattern uses (*COMMIT) or (*MARK), which is however not a very broadly used syntax in PHP. Still this should be observed and handled by possibly adding a possibility to reverse PCRE2_NO_START_OPTIMIZE on the user side. One test shows a behavior change, where instead of int 0 the match would produce an error and return false. Except strict comparison is used, this should be acceptable. Signed-off-by: Anatol Belski <ab@php.net> (cherry picked from commit d188ca7688315e3d32d41a32e0ce7b1f9bffb4cf) Signed-off-by: Anatol Belski <ab@php.net>
show more ...
|