Why not use a librairy that validates emails? You save time, and you actually accept valid emails.
I agree that the example with a lot of symbols is over the top, but when a website doesn't accept [email protected], I assume the product will be sub-par quality wise. The author did not follow of rigorous process for something as simple as email validation, I doubt he'll be more rigorous in other parts of his project.
I agree that the example with a lot of symbols is over the top, but when a website doesn't accept [email protected], I assume the product will be sub-par quality wise. The author did not follow of rigorous process for something as simple as email validation, I doubt he'll be more rigorous in other parts of his project.