Closed Benjie56 closed 1 month ago
fair point - i just grabbed the regex online somewhere.
Could try to fix that.
Two approaches:
Any preference @ianharrigan ?
my personal preference would be the former, ie, relax the regexp - i just dont like the idea of adding some 10kb file and then having to remember to update it, etc... feels like additional maintenance... ... ... ?
The email validator regex only accepts 2 and 3 character top-level-domains. The current longest TLD is .vermögensberatung (XN--VERMGENSBERATUNG-PWB), which is 24 characters long. The longest possible is 63 characters long. I personally use a .scot email address, which gets rejected by email fields.