| **repo:regexp-pattern
** <
br />
**repo:regexp-pattern@rev
** <
br />
**repo:regexp-pattern rev:rev
**<
br />
_alias: r
_ | Include results from repos whose path matches a specified regexp-pattern. The repo path is
`github.com/myteam/abc` or
`code.example.com/xyz` depending on your repo host. If the regexp ends in
`@rev`, search that revision instead of the default
`main` branch.
`repo:regexp-pattern@rev` is equivalent to
`repo:regexp-pattern rev:rev` | [`repo:gorilla/mux testroute`](https://sourcegraph.com/search?q=repo:gorilla/mux+testroute) <
br/>
[`repo:^github\.com/sourcegraph/[email protected] mux`](https://sourcegraph.com/search?q=repo:%5Egithub%5C.com/sourcegraph/sourcegraph%24%40v3.14.0+mux&patternType=keyword) |
0 commit comments