5 ms·
What about @@.@?
by DeepYogurt 5y ago
What about @@.@?
- woranl 5y agoThere is nothing before the first @, and nothing after the last @.
- ojame 5y agoWhile that's true, `@@.@` fulfils "an @ symbol with something before it, and something after it".
- Skadabucci 5y agoThe original comment probably meant something like this: ^[^@]@[^@]$
- mekster 5y agoThat's only one letter before and after.
- duxup 5y agoPeople who have weird email addresses are used to them not working.
- secabeen 5y agoInteresting question. RFC1123 states that TLDs should be alphabetic, and that the first (or only) character must be a letter or a digit, which should exclude a TLD of '@'. local-parts can include most printable characters other than ()<>[];:@\,. /^+@+$/ is easy and the false positives it allows are weird enough to accept.