Skip to content

Allow spaces and separators in match even if there are none in string#70

Open
JackJ30 wants to merge 2 commits intoodin-lang:masterfrom
JackJ30:master
Open

Allow spaces and separators in match even if there are none in string#70
JackJ30 wants to merge 2 commits intoodin-lang:masterfrom
JackJ30:master

Conversation

@JackJ30
Copy link

@JackJ30 JackJ30 commented Mar 22, 2026

I noticed that if try to match multiple words delimited by a space you will get no matches, since there are no spaces in function names and similar. This patch effectively allows delimiters to be in the pattern and not in the string.

This is a band-aid to enable the fuzzy search behavior that I think most people will expect. If you guys are open to it, I'm interested in rewriting the matcher to support things like matching multiple parts with different orders.

Thanks!

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