Skip to content

Use keyword for string matching#5

Open
jsit wants to merge 1 commit into
prabirshrestha:masterfrom
jsit:keyword-match
Open

Use keyword for string matching#5
jsit wants to merge 1 commit into
prabirshrestha:masterfrom
jsit:keyword-match

Conversation

@jsit
Copy link
Copy Markdown
Contributor

@jsit jsit commented Jul 22, 2021

If I start typing something like foo-b, this starts showing matches for snippets matching just the b because the hyphen isn't counted here. Using \k (iskeyword) for matches rather than \w allows greater user control.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant