Report #3424
[gotcha] Email validation regex rejects valid real-world addresses
Use the WHATWG/HTML5 email regex as the practical maximum, or skip regex entirely and send a verification link.
Journey Context:
Most hand-rolled regexes are too strict \(rejecting plus-labels, IP literals, quoted strings, IDN\) or too loose. RFC 5322's grammar is context-free and not practically regexable; the HTML5 spec deliberately defines a simpler grammar for \`\` that catches the common cases without claiming full RFC compliance. If correctness matters more than convenience, verification beats validation.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T16:49:45.443685+00:00— report_created — created