HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
larb
email_address_validator
Ruby2012–2012
larb / email_address_validator

email_address_validator

RFC Compliant Email Address Parsing

2Distinct people
2Mentions
0Explicit recommenders
34GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

RFC Compliant Email Address Parsing

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by 6-hour interval2 dated mentions

Observed mentions: 2012-09-06 21:21:30 UTC to 2012-09-13 20:25:09 UTC.

012012-09-06 18:00:00 UTC to 2012-09-07 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsSep 6, 18:002012-09-07 00:00:00 UTC to 2012-09-07 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2012-09-07 06:00:00 UTC to 2012-09-07 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2012-09-07 12:00:00 UTC to 2012-09-07 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2012-09-07 18:00:00 UTC to 2012-09-08 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2012-09-08 00:00:00 UTC to 2012-09-08 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2012-09-08 06:00:00 UTC to 2012-09-08 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2012-09-08 12:00:00 UTC to 2012-09-08 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2012-09-08 18:00:00 UTC to 2012-09-09 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2012-09-09 00:00:00 UTC to 2012-09-09 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2012-09-09 06:00:00 UTC to 2012-09-09 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2012-09-09 12:00:00 UTC to 2012-09-09 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2012-09-09 18:00:00 UTC to 2012-09-10 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2012-09-10 00:00:00 UTC to 2012-09-10 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2012-09-10 06:00:00 UTC to 2012-09-10 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsSep 10, 06:002012-09-10 12:00:00 UTC to 2012-09-10 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2012-09-10 18:00:00 UTC to 2012-09-11 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2012-09-11 00:00:00 UTC to 2012-09-11 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2012-09-11 06:00:00 UTC to 2012-09-11 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2012-09-11 12:00:00 UTC to 2012-09-11 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2012-09-11 18:00:00 UTC to 2012-09-12 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2012-09-12 00:00:00 UTC to 2012-09-12 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2012-09-12 06:00:00 UTC to 2012-09-12 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2012-09-12 12:00:00 UTC to 2012-09-12 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2012-09-12 18:00:00 UTC to 2012-09-13 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2012-09-13 00:00:00 UTC to 2012-09-13 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2012-09-13 06:00:00 UTC to 2012-09-13 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2012-09-13 12:00:00 UTC to 2012-09-13 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2012-09-13 18:00:00 UTC to 2012-09-14 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsSep 13, 18:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Sep 6, 18:002012-09-06 18:00:00 UTC2012-09-07 00:00:00 UTC101
Sep 7, 00:002012-09-07 00:00:00 UTC2012-09-07 06:00:00 UTC000
Sep 7, 06:002012-09-07 06:00:00 UTC2012-09-07 12:00:00 UTC000
Sep 7, 12:002012-09-07 12:00:00 UTC2012-09-07 18:00:00 UTC000
Sep 7, 18:002012-09-07 18:00:00 UTC2012-09-08 00:00:00 UTC000
Sep 8, 00:002012-09-08 00:00:00 UTC2012-09-08 06:00:00 UTC000
Sep 8, 06:002012-09-08 06:00:00 UTC2012-09-08 12:00:00 UTC000
Sep 8, 12:002012-09-08 12:00:00 UTC2012-09-08 18:00:00 UTC000
Sep 8, 18:002012-09-08 18:00:00 UTC2012-09-09 00:00:00 UTC000
Sep 9, 00:002012-09-09 00:00:00 UTC2012-09-09 06:00:00 UTC000
Sep 9, 06:002012-09-09 06:00:00 UTC2012-09-09 12:00:00 UTC000
Sep 9, 12:002012-09-09 12:00:00 UTC2012-09-09 18:00:00 UTC000
Sep 9, 18:002012-09-09 18:00:00 UTC2012-09-10 00:00:00 UTC000
Sep 10, 00:002012-09-10 00:00:00 UTC2012-09-10 06:00:00 UTC000
Sep 10, 06:002012-09-10 06:00:00 UTC2012-09-10 12:00:00 UTC000
Sep 10, 12:002012-09-10 12:00:00 UTC2012-09-10 18:00:00 UTC000
Sep 10, 18:002012-09-10 18:00:00 UTC2012-09-11 00:00:00 UTC000
Sep 11, 00:002012-09-11 00:00:00 UTC2012-09-11 06:00:00 UTC000
Sep 11, 06:002012-09-11 06:00:00 UTC2012-09-11 12:00:00 UTC000
Sep 11, 12:002012-09-11 12:00:00 UTC2012-09-11 18:00:00 UTC000
Sep 11, 18:002012-09-11 18:00:00 UTC2012-09-12 00:00:00 UTC000
Sep 12, 00:002012-09-12 00:00:00 UTC2012-09-12 06:00:00 UTC000
Sep 12, 06:002012-09-12 06:00:00 UTC2012-09-12 12:00:00 UTC000
Sep 12, 12:002012-09-12 12:00:00 UTC2012-09-12 18:00:00 UTC000
Sep 12, 18:002012-09-12 18:00:00 UTC2012-09-13 00:00:00 UTC000
Sep 13, 00:002012-09-13 00:00:00 UTC2012-09-13 06:00:00 UTC000
Sep 13, 06:002012-09-13 06:00:00 UTC2012-09-13 12:00:00 UTC000
Sep 13, 12:002012-09-13 12:00:00 UTC2012-09-13 18:00:00 UTC000
Sep 13, 18:002012-09-13 18:00:00 UTC2012-09-14 00:00:00 UTC101

What Hacker News says

2 sources
So to sum up the comments on the previous submission: 1) Someone did make a fully compliant Regex https://github.com/larb/email_address_validator 2) Lots of people (including the author http://news.ycombinator.com/item?id=4486264) think that you should at least validate that the '@' is somewhere to avoid username / email mixups 3) If your regex fails for foo+tag@something.com lots of people get pissed. I learned you can use that for inbox sorting since foo+tag@something.com goes to foo@something.com. 4) There are other schools of thought that promote validation and telling the user something is wrong like mailcheck.js (https://github.com/Kicksend/mailcheck), but these should not stop users from submitting forms. Did I miss anything?
In Stop Validating Email Addresses With Your Complex Regexes
A couple years ago Evan Phoenix (of rubinius) and I collaborated (by which I mean he wrote the grammar and I did almost nothing) on a REAL RFC compliant email address validator using a PEG for parsing: https://github.com/larb/email_address_validator I don't know that anyone uses it, or would even want to use it. It was a fun project, but I certainly wouldn't use it in an app (unless it was an MTA or MUA). What comprises a valid email address is way too broad. I think there are reasonable regexes for email addresses FWIW. The RFC(s) are stupid and broken, and you can hit 99.99999% of addrs and provide useful errors back to the users with a regex.
In Stop validating email addresses with your complex regex

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.