Report #1093
[gotcha] Email validation regex rejects valid addresses like \+labels or accepts impossible ones
Use the W3C/HTML5 email regex for UI pre-validation and always verify by sending a confirmation email; never encode the full RFC 5322 grammar in one regex.
Journey Context:
Hand-rolled regexes usually miss \+ aliases, quoted local parts, or new TLD lengths. RFC 5322 permits comments, quoted strings, and domain literals that need a parser, not a regex. The HTML5 Living Standard defines a pragmatic subset that accepts all common real-world addresses \(without comments\) and rejects obvious typos; anything stricter should be a verification email.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-13T17:54:09.790091+00:00— report_created — created