Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to customize multipattern #48

Open
Exidex opened this issue Jun 3, 2024 · 0 comments
Open

Ability to customize multipattern #48

Exidex opened this issue Jun 3, 2024 · 0 comments

Comments

@Exidex
Copy link

Exidex commented Jun 3, 2024

I am trying to use this crate for fuzzy matching in a context of a search bar of the application launcher and for me it is not desirable to let user to have an ability to customize matching behavior and instead I want to always have the same behavior. With current implementation of MultiPattern it doesn't seem to be possible to specify the patterns manually. The only way of modify MultiPattern seems to be via reparse which is hardcoded to Atom::parse. In other words it doesn't seem to be possible to use all the customizability described in top level docs of nucleo-matcher crate in the high level API unless I am missing something.

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

No branches or pull requests

1 participant