"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
fspath: remove unused capture group in remote name regex
albertonyc57120081213
diff --git a/fs/fspath/path.go b/fs/fspath/path.goindex 7943894c5..810189a07 100644--- a/fs/fspath/path.go+++ b/fs/fspath/path.go@@ -14,7 +14,7 @@ import (const (configNameRe = `[\w. -]+`- remoteNameRe = `(:?` + configNameRe + `)`+ remoteNameRe = `:?` + configNameRe)var (@@ -35,7 +35,7 @@ var (configNameMatcher = regexp.MustCompile(`^` + configNameRe + `$`)// remoteNameMatcher is a pattern to match an rclone remote name at the start of a config- remoteNameMatcher = regexp.MustCompile(`^` + remoteNameRe + `(:$|,)`)+ remoteNameMatcher = regexp.MustCompile(`^` + remoteNameRe + `(?::$|,)`))// CheckConfigName returns an error if configName is invalid