[issue46065] re.findall takes forever and never ends

2021-12-13 Thread Ramzi Trabelsi
Ramzi Trabelsi added the comment: thanks for the answer. Is there any workaround for this ? -- ___ Python tracker <https://bugs.python.org/issue46065> ___ ___

[issue46065] re.findall takes forever and never ends

2021-12-13 Thread Ramzi Trabelsi
Change by Ramzi Trabelsi : -- components: -macOS ___ Python tracker <https://bugs.python.org/issue46065> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46065] re.findall takes forever and never ends

2021-12-13 Thread Ramzi Trabelsi
New submission from Ramzi Trabelsi : parsing emails from this text took forever and never ends. Here the code and the file res.html is attached. The Behavior is same on Windows 10, 11 and Ubuntu 18.04 CODE: import re pattern_email = r"[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.