-
These incorrect mails would match OK: test@aha.ok hello, test@aha.ok, test@okay.aha okay@aha.test
A change of the regex to ^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$ would fix that.
-
TLDs longer than 4 characters need to be supported. Due to the current non-strict validation regex, it would match OK. But with the change above we need to adapt the regex to support valid mails like: me@you.online with a TLD longer than 4 characters.
The other regex problems are still unsovled:
Here is another mail regex suggestion which seems to be quite complete:
These incorrect mails would match OK:
test@aha.ok hello,test@aha.ok, test@okay.aha okay@aha.testA change of the regex to
^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$would fix that.TLDs longer than 4 characters need to be supported. Due to the current non-strict validation regex, it would match OK. But with the change above we need to adapt the regex to support valid mails like:
me@you.onlinewith a TLD longer than 4 characters.The other regex problems are still unsovled:
Here is another mail regex suggestion which seems to be quite complete: