Closed hiteshbedre closed 1 year ago
Here is a playground of email cases handled: https://regex101.com/r/TjPEI6/1
I think we have both done the same. My PR #39 also fixed those and the other remaining tests with the exception of the emoji and IDN domain name tests.
@KonajuGames yeah, we solved the same issue.
Just difference in approach is, @KonajuGames solved by handling cases via code and me via regex.
Just difference in approach is, @KonajuGames solved by handling cases via code and me via regex.
I extended the regex to be more generous in what it matches, to include opening and closing quotes, then filter them out in code.
closing quotes
hitesh"@abc.com
is valid scenario.
Fixes: https://github.com/HaveIBeenPwned/EmailAddressExtractor/issues/36