feat: introduce FRESH version regex

This commit is contained in:
hacksalot committed 2018-02-09 21:32:44 -05:00
1 parent 17e5c6c172
commit 58fe46dc83
2 files changed
+37

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
/**
Defines a regex suitable for matching FRESH versions.
@module file-contains.js
*/
(function() {
module.exports = function() {
return RegExp('^(FRESH|FRESCA|JRS)(?:@(\\d+(?:\\.\\d+)?(?:\\.\\d+)?))?$');
};
}).call(this);
//# sourceMappingURL=fresh-version-regex.js.map