Created
May 22, 2015 02:09
-
-
Save mike-north/1aeca68459c375175769 to your computer and use it in GitHub Desktop.
Ember.js version string parsing
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
var emberParsingRegex = /^([0-9]+)\.([0-9]+)\.([0-9]+)(?:(?:\-(alpha|beta)\.([0-9]+)(?:\.([0-9]+))?)?)?(?:\+(canary))?(?:\.([0-9abcdef]+))?$/; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment