Closed Cabu closed 11 months ago
@Cabu Friend, I think whether the parttern>([\\s\\S]*?)<
of greedy search is enough, even if it's not perfect. So try the new version 5.8.4
Support you find difference between py2 and py3.
@Cabu The pattern is used twice, findall
and sub
, not only findall
, so long long ago the pattern is complicated.
Debug Tips
What happened?
from:
In Python 2.7.18, the re module return:
In Python 3.7.16 and 3.11.3, the re module return.
Simplifying the RE seems to work well:
I have opened a bug in cpython in case the problem come from them: https://github.com/python/cpython/issues/109579
APP Version
5.8.3
Python Version
3.11
Runtime Environment
Linux CentOS (Default)
Country/Region
Belgium
Relevant log output
No response
Screenshots
No response
Code of Conduct