Skip to content

Commit a3170b5

Browse files
kilyinovMaedahBatoolkeegancsmith
authored
Changed regex example to use any github.com repo with regex search (#837)
Updated regex example to use another repo as sourcegraph/sourcegraph is no longer available in .com instance <!-- Explain the changes introduced in your PR --> ## Pull Request approval You will need to get your PR approved by at least one member of the Sourcegraph team. For reviews of docs formatting, styles, and component usage, please tag the docs team via the #docs Slack channel. --------- Co-authored-by: Maedah Batool <[email protected]> Co-authored-by: Keegan Carruthers-Smith <[email protected]>
1 parent 8222a10 commit a3170b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/code-search/queries/examples.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ repo:^github\.com/Parsely/pykafka$ Not leader for partition
107107

108108
Regex searches are also useful when searching boundaries that are not delimited by code structures:
109109

110-
[Finding css classes with word boundary regex](https://sourcegraph.com/search?q=repo:%5Egithub%5C.com/sourcegraph/sourcegraph%24+%5Cbbtn-secondary%5Cb&patternType=regexp)
110+
[Finding css classes with word boundary regex](https://sourcegraph.com/search?q=repo:%5Egithub%5C.com/sourcegraph/+%5Cbbtn-secondary%5Cb&patternType=regexp)
111111

112112
```sgquery
113-
repo:^github\.com/sourcegraph/sourcegraph$ \bbtn-secondary\b
113+
repo:^github\.com/sourcegraph/ \bbtn-secondary\b
114114
```

0 commit comments

Comments
 (0)