Code review comment for lp:~hirt/ocb-addons/6.1_fix_mailaddress-parsing

Revision history for this message
Stefan Rijnhart (Opener) (stefan-opener) wrote :

In the case of email address parsing, which is notoriously difficult, I would have more faith in a standard function than a regular expression, at least without a large test set. Did you look at getaddressess from email.utils? See http://docs.python.org/2/library/email.util.html#email.utils.getaddresses for docs, and the example at the top of http://pastebin.com/zbzXQYS9

review: Needs Information

« Back to merge proposal