lithammer / fuzzysearch

:pig: Tiny and fast fuzzy search in Go

Home Page:https://pkg.go.dev/github.com/lithammer/fuzzysearch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exact match mode?

097115 opened this issue · comments

In fzf, for example, there's so called "exact search mode", triggered by ', which searches the exact phrase provided. Would it be possible to have something like this in fuzzysearch?

I.e., as of now, searching the string ae in archive, arkenfox, aerc, zambezi will return all four candidates. However, if an option for strict matching could be added, the result would be only one, aerc.

Why needed? Well, because exactly of this, sometimes there are just too many candidates :)

What do you think?