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
1 changed files with 1 additions and 1 deletions

View File

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