mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-27 15:24:56 +00:00
code: valid,semver,is (1 files)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
const semverPattern = /^\\d+\\.\\d+\\.\\d+$/
|
||||
const semverPattern = /^\d+\.\d+\.\d+$/
|
||||
|
||||
export function isValidSemver(version: string): boolean {
|
||||
return semverPattern.test(version)
|
||||
|
||||
Reference in New Issue
Block a user