Skip to content

Instantly share code, notes, and snippets.

@tom-lord
Created March 19, 2015 22:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tom-lord/37c08d749b294d3c696d to your computer and use it in GitHub Desktop.
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|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