1
mirror of https://github.com/rclone/rclone synced 2025-01-11 14:26:24 +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 ( const (
configNameRe = `[\w. -]+` configNameRe = `[\w. -]+`
remoteNameRe = `^(:?` + configNameRe + `)` remoteNameRe = `(:?` + configNameRe + `)`
) )
var ( var (