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 duplicate start-of-line anchor in remote name regex

albertony04a663829b52
diff --git a/fs/fspath/path.go b/fs/fspath/path.go
index 7f0868b8f..7943894c5 100644
--- a/fs/fspath/path.go
+++ b/fs/fspath/path.go
@@ -14,7 +14,7 @@ import (
const (
configNameRe = `[\w. -]+`
- remoteNameRe = `^(:?` + configNameRe + `)`
+ remoteNameRe = `(:?` + configNameRe + `)`
)
var (