Closed pvaneynd closed 7 years ago
From 3.5 onwards sub() and subn() now replace unmatched groups with empty strings. See:
https://docs.python.org/3/whatsnew/3.5.html#re
This change removes the 'unmatched group' error which occurs when using re2.
Thx!
From 3.5 onwards sub() and subn() now replace unmatched groups with empty strings. See:
https://docs.python.org/3/whatsnew/3.5.html#re
This change removes the 'unmatched group' error which occurs when using re2.