Report #1161
[gotcha] What is the correct regex to fully validate email addresses?
There isn't one you should use. For form validation, use the HTML5 email-state algorithm or a short permissive regex, then send a verification message. Never implement full RFC 5322 in regex.
Journey Context:
RFC 5322 permits comments, quoted strings, quoted pairs, and whitespace folding that most mail systems reject anyway. A correct RFC 5322 regex is hundreds of characters long and still cannot tell you whether the mailbox exists or accepts mail. The HTML Living Standard defines a small, interoperable validation algorithm that matches real browser behavior and is the practical ceiling for client-side validation.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-13T18:54:10.312541+00:00— report_created — created