Message408453
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-.]{2,3}"
with open("res.html","r",encoding="utf-8") as FF:
TEXT = FF.read()
matched_email = re.findall(pattern_email,TEXT) |
|
Date |
User |
Action |
Args |
2021-12-13 13:26:28 | ramzitra | set | recipients:
+ ramzitra, ronaldoussoren, ned.deily |
2021-12-13 13:26:28 | ramzitra | set | messageid: <1639401988.73.0.733937004071.issue46065@roundup.psfhosted.org> |
2021-12-13 13:26:28 | ramzitra | link | issue46065 messages |
2021-12-13 13:26:28 | ramzitra | create | |
|