Strings do too many things - eviltoast
  • hansl@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    9 months ago

    We were discussing validation, not parsing. There’s no parsing in an email. You might give it a type once it passes validation, but an email is just a string with an @ in it (and likely some . because you want at least 1 TLD but even that I’m not sure).