Created
February 9, 2018 15:27
-
-
Save lirantal/4b596b92b97dbdb2132b83e614eb0189 to your computer and use it in GitHub Desktop.
How a RegEx can bring your system down
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var testEmail = /^([a-zA-Z0-9])(([\-.]|[_]+)?([a-zA-Z0-9]+))*(@){1}[a-z0-9]+[.]{1}(([a-z]{2,3})|([a-z]{2,3}[.]{1}[a-z]{2,3}))$/.exec('[email protected]'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment