1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2025-05-02 20:37:08 +01:00

feat: introduce FRESH version regex

This commit is contained in:
hacksalot
2018-02-09 21:32:44 -05:00
parent 17e5c6c172
commit 58fe46dc83
2 changed files with 37 additions and 0 deletions

14
dist/utils/fresh-version-regex.js vendored Normal file
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