Re-enable an optimization which was unintentionally disabled in 10.35.

This commit is contained in:
Zoltan Herczeg 2021-09-10 10:00:47 +00:00
parent 8f3e11a355
commit dc5f966635
2 changed files with 3 additions and 1 deletions

View File

@ -52,6 +52,8 @@ However, just in case anybody was relying on the old behaviour, there is an
option called PCRE2_EXTRA_ALLOW_LOOKAROUND_BSK that enables the old behaviour.
An option has also been added to pcre2grep to enable this.
7. Re-enable an optimization which was unintentionally disabled in 10.35.
Version 10.37 26-May-2021
-------------------------

View File

@ -11228,7 +11228,7 @@ early_fail_type = (early_fail_ptr & 0x7);
early_fail_ptr >>= 3;
/* During recursion, these optimizations are disabled. */
if (common->early_fail_start_ptr == 0)
if (common->early_fail_start_ptr == 0 && common->fast_forward_bc_ptr == NULL)
{
early_fail_ptr = 0;
early_fail_type = type_skip;