Re-enable an optimization which was unintentionally disabled in 10.35.
This commit is contained in:
parent
8f3e11a355
commit
dc5f966635
|
@ -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
|
||||
-------------------------
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue