1
mirror of https://github.com/rclone/rclone synced 2024-12-24 15:43:45 +01:00

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 + `)`
)