Skip to content

Any plan to support Match Whole Word? #10608

Discussion options

You must be logged in to vote

A couple things:

  1. We rank whole word matches higher than partial matches. So hopefully the top results will be whole word matches.
  2. We don't support case sensitive matching yet (but we're working on it!)

If you want to strictly find whole word matches, you can also construct a regular expression. E.g. to find sourcemap, you could try something like /(^|\W)sourcemap($|\W)/

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by colinwm
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Search and Navigation Search, navigate, and understand code on GitHub Product Feedback
3 participants