Properly escape '-' in ignore filename pattern
This commit is contained in:
parent
843e54c36a
commit
3702cac56e
|
@ -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
|
||||||
|
|
|
@ -14,7 +14,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
ReleaseVersion string = "3.5.1"
|
ReleaseVersion string = "3.5.2"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
Loading…
Reference in New Issue