diff --git a/go/vcs/vcs.go b/go/vcs/vcs.go index 059f6151..e5aae8f8 100644 --- a/go/vcs/vcs.go +++ b/go/vcs/vcs.go @@ -585,7 +585,7 @@ var vcsPaths = []*vcsPath{ // Google Code - new syntax { prefix: "code.google.com/", - re: `^(?Pcode\.google\.com/(?:p|r)/(?P[a-z0-9\-]+)(\.(?P[a-z0-9\-]+))?)(/[A-Za-z0-9_.\-]+)*$`, + re: `^(?Pcode\.google\.com/[pr]/(?P[a-z0-9\-]+)(\.(?P[a-z0-9\-]+))?)(/[A-Za-z0-9_.\-]+)*$`, repo: "https://{root}", check: googleCodeVCS, },