News for hackers. Stuff that matters.
Re:Ruby's Email Address Regexp by 0x640x6D on Tuesday January 04, 2022 @10:25PM (#29804688)
This regexp and the whatwg one it is based off (correctly) do not validate the presence of a TLD since it's not technically required (foo@bar is considered valid). But if you are building consumer products it's best to test that there is at least a presence of something TLD-like after validating against this regexp.

There are no comments on this comment yet.