fix dev regex on windows

This commit is contained in:
Denis Bilenko 2025-01-27 10:21:17 +01:00
parent 3f028c4961
commit 0ab4d27d80
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ var (
uuidRegex = regexp.MustCompile(`[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}`)
numIdRegex = regexp.MustCompile(`[0-9]{3,}`)
privatePathRegex = regexp.MustCompile(`(/tmp|/private)(/.*)/([a-zA-Z0-9]+)`)
devVersionRegex = regexp.MustCompile(`0\.0\.0-dev\+[a-f0-9]{10,16}`)
devVersionRegex = regexp.MustCompile(`0\.0\.0-dev(\+[a-f0-9]{10,16})?`)
)
type Replacement struct {