True for local@domain with no whitespace, exactly one @, a
non-empty local part and a dot inside the domain (not first or last).
The same strings as /^[^\s@]+@[^\s@]+.[^\s@]+$/, checked in linear
time: that regex backtracks polynomially on input such as
"a@" + "!.".repeat(n).
True for
local@domainwith no whitespace, exactly one@, a non-empty local part and a dot inside the domain (not first or last). The same strings as /^[^\s@]+@[^\s@]+.[^\s@]+$/, checked in linear time: that regex backtracks polynomially on input such as "a@" + "!.".repeat(n).