Skip to content

Commit

Permalink
Clarify case sensitive search
Browse files Browse the repository at this point in the history
The previous text was inaccurate – it is possible to do case sensitive
searches with regular expressions.
  • Loading branch information
victorlin authored Oct 17, 2024
1 parent ae02d76 commit bf30db8
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`.
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 bf30db8

Please sign in to comment.