Properly escape '-' in ignore filename pattern

This commit is contained in:
Seednode 2023-12-31 15:57:39 -06:00
parent 843e54c36a
commit 3702cac56e
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ import (
"seedno.de/seednode/roulette/types" "seedno.de/seednode/roulette/types"
) )
const ignoreFilePattern string = `^[A-z0-9.-_]+$` const ignoreFilePattern string = `^[A-z0-9.\-_]+$`
type regexes struct { type regexes struct {
alphanumeric *regexp.Regexp alphanumeric *regexp.Regexp

View File

@ -14,7 +14,7 @@ import (
) )
const ( const (
ReleaseVersion string = "3.5.1" ReleaseVersion string = "3.5.2"
) )
var ( var (