From 04a663829b52558c45925aced85de92d92c1ad64 Mon Sep 17 00:00:00 2001 From: albertony <12441419+albertony@users.noreply.github.com> Date: Fri, 16 Sep 2022 16:16:57 +0200 Subject: [PATCH] fspath: remove duplicate start-of-line anchor in remote name regex --- fs/fspath/path.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 (