Re:Charset="WTF-8"
by nedt on Sunday November 24, 2024 @08:27PM
(#42232304)
In HTML if you use <input type="email"> you basically get a regex validation. While it not fully follows the RFC it's a good middle ground. And it gives you an email that you can use on the internet (RFC obviously has some cases that are outside of this scope). That's why I tend to prefer what's defined in the standard: https://html.spec.whatwg.org/multipage/input.html#email-stat...
[ Parent
| on HN ]
There are no comments on this comment yet.