fspath: remove superfluous underscore covered by existing word character class in remote name regex

This commit is contained in:
albertony 2022-09-17 09:49:55 +02:00 committed by Nick Craig-Wood
parent f73be767a4
commit 6b4a2c1c4e

View file

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