News for hackers. Stuff that matters.
Re:Falsehoods programmers believe about email by skeeter2020 on Thursday September 01, 2022 @09:34AM (#32676010)
IME it's the latter, but not because they are lazy, but because email validation is hard. The lazy regex was in the late 90's early 00's when any email that didn't end in .com, .edu or .net failed!
Re:Falsehoods programmers believe about email by hoosieree on Thursday September 01, 2022 @01:38PM (#32680037)
The problem is insufficient laziness. Just check that the email contains an `@` sign, and validate later by corresponding with the address.

    if "@" in email:
      send_confirmation(email)
Re:Falsehoods programmers believe about email by shakna on Thursday September 01, 2022 @03:45PM (#32682007)
Which is truly terrible. I mean, here's a valid email that was used in the early 90s:

    sdchema!mhtsa!australia!chris@Nosc