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.
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 modifyMultiPattern
seems to be viareparse
which is hardcoded toAtom::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.