Loose email shape local@domain.tld: a non-empty local part, exactly one
@, a domain that holds a . and neither starts nor ends with one, and
no whitespace. Accepts a@b.c (single-char TLDs are fine), a@b..c and
user+tag@a.co; rejects notanemail, @x.com, user@, user@host,
a@.b.c, a@b.c., and any whitespace. The Rust spine's is_valid_email
is the same rule.
The negated class excludes \s plus U+0085 (NEL): JS's \s omits
U+0085 but Unicode White_Space (Rust's char::is_whitespace) includes
it, so excluding it keeps the whitespace set identical across the twins.
(The Rust side correspondingly also rejects U+FEFF, which JS \s treats as
whitespace but Unicode White_Space does not — so both spines reject
exactly White_Space ∪ {U+FEFF}.)
Linear in the input's length: the @ can match only the first @, and the
\. only the domain's first ., since the classes before each exclude it,
so the tail after the \. is scanned once. The domain spelled
[^\s\u0085@.][^\s\u0085@]*\.[^\s\u0085@]*[^\s\u0085@.], the same
language, is quadratic: it tries every . as the split.