1
0
mirror of synced 2025-12-19 18:10:59 -05:00

Clarify case sensitive search (#34975)

Co-authored-by: Alex Nguyen <150945400+nguyenalex836@users.noreply.github.com>
This commit is contained in:
Victor Lin
2024-10-17 11:03:14 -07:00
committed by GitHub
parent 710e8ad9a3
commit bfaa324021

View File

@@ -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`.