krisk / Fuse

Lightweight fuzzy-search, in JavaScript
https://fusejs.io/
Apache License 2.0
18.09k stars 766 forks source link

The extended search should be extended with a syntax to search literal phrases #376

Closed dead-claudia closed 4 years ago

dead-claudia commented 4 years ago

Basically, there should be some sort of quoting or escaping mechanism for spaces.

Not a dupe of #206 as this is a feature request, not a 2.5-year-old question of a feature that didn't exist then.

krisk commented 4 years ago

Yes, that's a good thing to have, and thinking about it, should be simple to include. Perhaps double quotes (") can serve as that.

krisk commented 4 years ago

@isiahmeadows check this out fuse.js@5.2.0-alpha.0. Let me know your thoughts.

v0n0 commented 3 years ago

just FYI this is not in the docs for extended search

dryu99 commented 3 years ago

Is there any way to escape the pipe operator?