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

fspath: remove duplicate start-of-line anchor in remote name regex

This commit is contained in:
albertony 2022-09-16 16:16:57 +02:00 committed by Nick Craig-Wood
parent 6b4a2c1c4e
commit 04a663829b

View File

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