feral american on Nostr: What is an email address? > Perl, Ruby: It's a string that matches a regular ...
What is an email address?
> Perl, Ruby: It's a string that matches a regular expression describing a word or words connected by a + sign, followed by an @ symbol, which is then followed by a domain name
> Java: It's a string that can be split on an @ symbol, containing a non-whitespaced word on the left and a domain on the right
> .NET: Uhhhhh.... it's a string with an @ symbol in it, so long as the @ isn't at the beginning or end
I wish I were kidding about that last one.
> Perl, Ruby: It's a string that matches a regular expression describing a word or words connected by a + sign, followed by an @ symbol, which is then followed by a domain name
> Java: It's a string that can be split on an @ symbol, containing a non-whitespaced word on the left and a domain on the right
> .NET: Uhhhhh.... it's a string with an @ symbol in it, so long as the @ isn't at the beginning or end
I wish I were kidding about that last one.