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.
Published at
2023-03-13 14:10:05Event JSON
{
"id": "e668ce3dc25ea640a8f534ce8f89485fcbbfc223af0d0c06d61932b1f95123e0",
"pubkey": "764424c067ac377dc1482a1ef5c9e392b86065e5f128ad09e7153426823222db",
"created_at": 1678716605,
"kind": 1,
"tags": [
[
"mostr",
"https://collapsitarian.io/objects/c327be3a-c146-4d70-a716-7537cebb7648"
]
],
"content": "What is an email address?\n\n\u003e 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\n\u003e 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\n\u003e .NET: Uhhhhh.... it's a string with an @ symbol in it, so long as the @ isn't at the beginning or end\n\nI wish I were kidding about that last one.",
"sig": "360c9b3d580335bf739d39395ce0af2aa27dd0e04fd2bc769541b3e64bcf76ca7bc4d43d608d63d774a64250a5146e8e83283b20bcf9fc70cf39d3f5e0bd5c1d"
}