News for hackers. Stuff that matters.
Re:Email address validation: please stop by retube on Monday February 14, 2011 @08:32AM (#2216660)
The problem with matching against the fully fledged RFC compliant regex is that not all email addresses are RFC compliant. As I indicated in my comment above, I've abondoned trying to "correctly" or "completely" validate email addresses. There's onyl one thing certain in an email address: it contains the "@" character.
Re:Email address validation: please stop by metageek on Monday February 14, 2011 @08:59AM (#2216748)
Cam you give an example of a noncompliant address that actually works?
Re:Email address validation: please stop by nourishingvoid on Monday February 14, 2011 @10:11AM (#2216982)
One cellular phone company in Japan used to allow people to register e-mail addresses with two periods in a row before the @ character. I have seen some addresses like this in the wild, but the decision to mark these as valid or not for an app depends on the domain you're working in. At my old job making web apps for Japanese companies, programmers would usually allow these types of addresses if we were making a mobile site.
Re:Email address validation: please stop by retube on Monday February 14, 2011 @06:31PM (#2219237)
Here's an example. I've stumbled across others in the past. http://www.reddit.com/r/programming/comments/fl6i0/email_add...