Comment on Strings do too many things

<- View Parent
hansl@lemmy.world ⁨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).

source
Sort:hotnewtop