4 ms·
I wrote an email validating regex at one point. It checked that there was exactly one @ sign in the address, which was neither the first nor last character. S
by aetherson 4y ago
I wrote an email validating regex at one point. It checked that there was exactly one @ sign in the address, which was neither the first nor last character. Seemed like a pretty good compromise to me.
- maxk42 4y agoStill incorrect. Valid email addresses can contain multiple '@'s as long as all but one are quoted.