Validated
I set out to write a regular expression to validate customer-input email addresses on our website, which we use to send an order summary (and then promptly erase.)
I actually found one in the back of Mastering Regular Expressions (which is in a second edition now; I got the first edition Wicked Cheap at Ocean State Job Lot)…
…and discovered that a regular expression to match a valid, RFC 2822 email address comes out to sixty or so lines.
I simplified.
Now Playing: Secret Agent from Sister (1998 Re-Release) by Letters To Cleo