Fix memoization for the /(...){0}/ case (#13169)
/(...){0}/
In this case, the previous implementation counted an extra number of opcodes to cache and the matching was unstable on memoization.
This patch is to fix that problem by not counting an number of opcodes to cache in the parentheses of (...){0}.
(...){0}
Fix memoization for the
/(...){0}/
case (#13169)In this case, the previous implementation counted an extra number of
opcodes to cache and the matching was unstable on memoization.
This patch is to fix that problem by not counting an number of opcodes
to cache in the parentheses of
(...){0}
.