2 ms·
The regexp looks for exactly one '@'-character preceded and followed by at least one character that's not an '@'-character. Or, in other words, it does not allo
by ht_th 12y ago
The regexp looks for exactly one '@'-character preceded and followed by at least one character that's not an '@'-character. Or, in other words, it does not allow for an email address with more than one '@'-character.
- rplnt 12y agoThe point of the post was that since the regexp doesn't include start or end of a string it would still succeed: "Foo@bar"@example.com -> "Foo@bar"