79342210

Date: 2025-01-09 10:20:17
Score: 0.5
Natty:
Report link

The issue arises because the regex captures additional characters

import re

fullText = "Belgium+32 483 38 63 [email protected]"
EMAIL_REGEX = r"\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,4}\b"

worker = re.findall(EMAIL_REGEX, fullText)
print(worker)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: yogev