Skip to content

Commit 4768408

Browse files
committed
cmd/go: fix regexp
The regular expression "A-za-z" is most likely a typo and the intent seems to be "A-Za-z" instead. Using "A-z" matches certain characters like: [\]^_` Updates #10010 Change-Id: If2d064c56ef613f2e46285d8d4e5998e83aed43a Reviewed-on: https://go-review.googlesource.com/62910 Reviewed-by: Matt Layher <[email protected]> Run-TryBot: Matt Layher <[email protected]>
1 parent 2d69e9e commit 4768408

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmd/go/internal/get/vcs.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -940,7 +940,7 @@ var vcsPaths = []*vcsPath{
940940
// chiselapp.com for fossil
941941
{
942942
prefix: "chiselapp.com",
943-
re: `^(?P<root>chiselapp\.com/user/[A-Za-z0-9]+/repository/[A-za-z0-9_.\-]+)$`,
943+
re: `^(?P<root>chiselapp\.com/user/[A-Za-z0-9]+/repository/[A-Za-z0-9_.\-]+)$`,
944944
vcs: "fossil",
945945
repo: "https://{root}",
946946
},

0 commit comments

Comments
 (0)