Fannon / search-bookmarks-history-and-tabs

Browser extension to search and navigate browser tabs, local bookmarks and history.
MIT License
181 stars 8 forks source link

Add uFuzzy user customizable option: `ufuzzyOptions` #90

Closed c0001 closed 1 year ago

c0001 commented 1 year ago

Issued by #87, we should provide this to let multilingual searching be capable, robust and following user side specifications via doing more tweaks of uFuzzy(@leeoniya/ufuzzy).

See also:

Fannon commented 1 year ago

I've just created a new PR which reverts the old change of mine and takes your approach of passing through uFuzzy options. This is how I would propose it: #91

c0001 commented 1 year ago

I've just created a new PR which reverts the old change of mine and takes your approach of passing through uFuzzy options. This is how I would propose it: #91

It's mature and perfect for me to adjusting my own needed fuzzy features. So I close this old pull-request now, hope #91 will be merged soon.

And further more that according to leeoniya's post, my self used interSplit of (\\s|\\p{P}) may be useful for someone is first time dating with the CJK fuzzy search problem of #87.

Thanks! Briant

Fannon commented 1 year ago

@c0001 : If you have any further insights how to best configure uFuzzy for your case, feel free to propose a better README fix or mention. In case we find a solution which works general-purpose, we can either have it in by default or if it comes with drawbacks, then have it as a dedicated option (like enableCJK: true)