Case sensitive matching? #9759
-
When using |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 8 replies
-
This is on our roadmap. Stay tuned! |
Beta Was this translation helpful? Give feedback.
-
Would be also great if it could support Regex flags for example |
Beta Was this translation helpful? Give feedback.
-
I wonder if "smart" case sensitivity could be an option, i.e. if the search is all lower case, it defaults to case-insensitive. But if your search is mixed-case, it does a case-sensitive search, as that was probably your intention. |
Beta Was this translation helpful? Give feedback.
-
I would love this |
Beta Was this translation helpful? Give feedback.
-
Just to add some color, I typically rely on case sensitive matches when searching for the thing I need. It helps me disambiguate between types and classes in Typescript (eg. |
Beta Was this translation helpful? Give feedback.
-
In the meantime this can be accomplished with e.g. |
Beta Was this translation helpful? Give feedback.
-
Years later still not solved. Who in the right mind would make code search case insensitive? Seriously. Even regexp and "exact match" are case insensitive. Who even allowed this to go into production? |
Beta Was this translation helpful? Give feedback.
-
Would be nice to see search made better. This would level GitHub up. |
Beta Was this translation helpful? Give feedback.
In the meantime this can be accomplished with
(?-i)
:e.g.
/(?-i)myCaseSensitiveSearchString/