Comment

Comment by 90s_dev

Ahh, I actually ran into this question, at least indirectly, about a month ago!

I was writing an email validator for my project which I'm so excited to announce soon. And my research (some stackoverflow answers) suggested that, yeah, you can have "a@b" as a valid email, as long as there's a one-letter TLD that can have MX records.

Which it seems there can be!

So my email validator is essentially just /^.{1,}@.{1,}$/ ... yay.

parent 90s_dev 1 year ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton