2 ms·
Oh the irony. His suggested Regex is not even correct. /.+@.+\..+/i A trailing dot is valid at the end of a domain name. These domains are said to be full
by pygy_ 13y ago
Oh the irony. His suggested Regex is not even correct.
/.+@.+\..+/i
A trailing dot is valid at the end of a domain name. These domains are said to be fully qualified.
http://www.dns-sd.org/TrailingDotsInDomainNames.html http://www.dns-sd.org/TrailingDotsInDomainNames.html
This also potentially eschews internal deployment.
His other suggesiton, /@/, at least, is not harmful, but there are validators based on the RFC that do the job for most platforms.
Validating the address may provide useful feedback to users who accidentally mistyped something, invalidating the permise of his last paragraph.
.
/someone is wrong on the internet.