mirror of
https://github.com/golang/go
synced 2024-11-20 09:44:45 -07:00
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 <mdlayher@gmail.com> Run-TryBot: Matt Layher <mdlayher@gmail.com>
This commit is contained in:
parent
2d69e9e259
commit
4768408e5f
@ -940,7 +940,7 @@ var vcsPaths = []*vcsPath{
|
|||||||
// chiselapp.com for fossil
|
// chiselapp.com for fossil
|
||||||
{
|
{
|
||||||
prefix: "chiselapp.com",
|
prefix: "chiselapp.com",
|
||||||
re: `^(?P<root>chiselapp\.com/user/[A-Za-z0-9]+/repository/[A-za-z0-9_.\-]+)$`,
|
re: `^(?P<root>chiselapp\.com/user/[A-Za-z0-9]+/repository/[A-Za-z0-9_.\-]+)$`,
|
||||||
vcs: "fossil",
|
vcs: "fossil",
|
||||||
repo: "https://{root}",
|
repo: "https://{root}",
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user