Skip to content

Commit

Permalink
Clarify case sensitive search (github#34975)
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Nguyen <150945400+nguyenalex836@users.noreply.github.com>
  • Loading branch information
victorlin and nguyenalex836 authored Oct 17, 2024
1 parent 710e8ad commit bfaa324
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -317,4 +317,4 @@ If code search guesses wrong, you can always get the search you wanted by using

## Case sensitivity

Code search is case-insensitive. Searching for `True` will include results for _uppercase_ `TRUE` and _lowercase_ `true`. You cannot do case-sensitive searches. Regular expression searches (e.g. for `[t][H][i][S]`) are also case-insensitive, and thus would return `This`, `THIS` and `this` in addition to any instances of `tHiS`.
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`.

0 comments on commit bfaa324

Please sign in to comment.