in reply to Re: Re: Yet Another Email Validation question
in thread Yet Another Email Validation question
Anyway, your regex is just too trivial to take serious. It would fail on every email address I create for registrating at a website. Rejecting email addresses that don't start with a \w character is as useful as rejecting street names that don't start with a vowel. You're rejecting perfectly valid email addresses, and on the other hand, you are accepting anything that starts with a \w character, and contains a @ and a dot. Which would mean you'd accept the text of this posting as a valid address, yet reject "this is valid"@example.com.
Abigail
|
|---|