Shows a regression with the extended coffee-script-redux regex syntax
Last active
December 16, 2015 03:59
-
-
Save mcculloughsean/5374039 to your computer and use it in GitHub Desktop.
csr extended regex bug
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
// Generated by CoffeeScript 1.6.2 | |
(function() { | |
var fileName; | |
fileName = 'foo/bar/baz.mustache'; | |
fileName.match(/.+\/(.+)\..+\.mustache$/)[1]; | |
}).call(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
fileName = 'foo/bar/baz.mustache' | |
fileName.match(/// .+ / (.+) \. .+ \.mustache $ ///)[1] |
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
// Generated by CoffeeScript 2.0.0-beta4 | |
void function () { | |
var fileName; | |
fileName = 'foo/bar/baz.mustache'; | |
fileName.match(/.+/(.+)\..+\.mustache$/)[1]; | |
}.call(this); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment