You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I couldn't tell if my life depended on it. While I like reading & writing regexes, these have way to many backslashes in them.
My idea to solving this (while being not at all familiar with the codebase) is to trim the resultlist by checking if an email without a name is already present. A hashmap would come to mind, but my C skills are not nearly advanced enough to even attempt this.
Basically, everything not matching (.+) <([^ ]+)> should probably not be considered as an email address with a name attached. (angle brackets and spaces around "pure" addresses should still be removed though)
What is returned:
What I'd expect:
I am also not too sure on the double angle brackets around the mail is actually valid; it happens for some mails, but not all.
The text was updated successfully, but these errors were encountered: