Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
greengobble
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
greengobble
10y ago
I guess, that's the whole point of the blogpost: when you try to validate email addresses with a regex, you are screwed with unicode domains. It is not clear if you should let them pass, only let them pass if they are properly encoded
2.
▲
by
greengobble
10y ago
> Did i miss it or did you forget that domains also can be punycode? That's an interesting question. DNS doesn't handle non-ASCII characters, so you have to encode them as xn--SOMETING. This will validate. Debatable if it shoul
3.
▲
Validating Email Addresses with a Regex? Do Yourself a Favor and Don’t
(blog.onyxbits.de)
2 points
by
greengobble
10y ago
|
4 comments