fspath: remove duplicate start-of-line anchor in remote name regex

This commit is contained in:
albertony 2022-09-16 16:16:57 +02:00 committed by Nick Craig-Wood
parent 6b4a2c1c4e
commit 04a663829b

View File

@ -14,7 +14,7 @@ import (
const (
configNameRe = `[\w. -]+`
remoteNameRe = `^(:?` + configNameRe + `)`
remoteNameRe = `(:?` + configNameRe + `)`
)
var (