Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

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

albertony6b4a2c1c4e9c
diff --git a/fs/fspath/path.go b/fs/fspath/path.go
index 285d843ff..7f0868b8f 100644
--- a/fs/fspath/path.go
+++ b/fs/fspath/path.go
@@ -13,7 +13,7 @@ import (
)
const (
- configNameRe = `[\w_. -]+`
+ configNameRe = `[\w. -]+`
remoteNameRe = `^(:?` + configNameRe + `)`
)