@Heidi It's an email address parser in regex, and it's wrong. There are domains where the TLD can be more than 4 characters, such as .exchange or .social
@rallias @Heidi AFAIK it is impossible to write a regex that validates email addresses with total accuracy?
(The one on my web site is several times as long as that. I nicked it from somewhere, I haven't a clue what it means. I get about one complaint a decade from people whose email addresses fail the regex.)
@TimWardCam @rallias @Heidi there's one in the RFC and it's huge. You're better of saying just a two item @ separated list, and the second item being at least 2 item . separated list
@ives @TimWardCam @rallias @Heidi true :) But unless you have very unusual users, simple list checks followed by the inevitable "click link in email" is *fine*