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

This commit is contained in:
albertony authored and Nick Craig-Wood committed 2022-12-12 13:24:32 +00:00
1 parent f73be767a4
commit 6b4a2c1c4e
1 file changed
+1 -1
+1 -1
View File
@@ -13,7 +13,7 @@ import (
)
const (
configNameRe = `[\w_. -]+`
configNameRe = `[\w. -]+`
remoteNameRe = `^(:?` + configNameRe + `)`
)