Created
March 19, 2015 22:57
-
-
Save tom-lord/37c08d749b294d3c696d to your computer and use it in GitHub Desktop.
All regular expressions can be broken down into their individual components, as something like this...
This file contains 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
/(this|that)+/ | |
== /(this|that){1,}/ | |
== /(t{1}h{1}i{1}s{1}|t{1}h{1}a{1}t{1}){1,}/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment