Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
OreganoTrail
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
OreganoTrail
2y ago
It says right there: "The regular expression does not cope with comments in email addresses. ... The Perl module pre-processes email addresses to remove comments before applying the mail regular expression."
2.
▲
There is a regex for valid emails, but no one has written it
(twitter.com)
2 points
by
OreganoTrail
2y ago
|
3 comments
3.
▲
by
OreganoTrail
2y ago
If I understand this correctly ... valid emails aren't a regular language, but there is a regex for them because regexes can match nested parentheses, but no one has ever made written down or generated this regex because it's to