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:
14
dist/utils/fresh-version-regex.js
vendored
Normal file
14
dist/utils/fresh-version-regex.js
vendored
Normal 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
|
Reference in New Issue
Block a user