Skip to content

Commit

Permalink
Update content/search-github/github-code-search/understanding-github-…
Browse files Browse the repository at this point in the history
…code-search-syntax.md

Co-authored-by: Ben Ahmady <[email protected]>
  • Loading branch information
nbenitez and subatoi authored Nov 11, 2024
1 parent d3c9df4 commit 71e1b69
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -317,4 +317,8 @@ If code search guesses wrong, you can always get the search you wanted by using

## Case sensitivity

By default, code search is case-insensitive. Searching for `True` will include results for _uppercase_ `TRUE` and _lowercase_ `true`. You can do case-sensitive searches by using a regular expression with case insensitivity turned off, for example `/(?-i)True/`.
By default, code search is case-insensitive, and results will include both uppercase and lowercase results. You can do case-sensitive searches by using a regular expression with case insensitivity turned off. For example, to search for the string "True", you would use:

```text
/(?-i)True/
```

0 comments on commit 71e1b69

Please sign in to comment.