Memory leak occurs in fuzzy match at some substitution use cases

Create issue
Issue #365 resolved
Emrullah Delibaş created an issue

Hello, I came across a memory leak in the following situation:

import regex as re

while True:'(hella){s<=1,i<=5,d<=0}', 'helloworld', flags=(re.BESTMATCH | re.IGNORECASE))

python version 3.6.8

regex version 2020.2.18

Interestingly, no memory leak occurs when s=0

while True:'(hello){s<=0,i<=5,d<=0}', 'helloworld', flags=(re.BESTMATCH | re.IGNORECASE))

Comments (5)

  1. Log in to comment