nepsilon / search-query-parser

A simple parser for advanced search query syntax
https://www.npmjs.org/package/search-query-parser
MIT License
253 stars 40 forks source link

It should flag "quoted text" as must-include #25

Open laggingreflex opened 5 years ago

laggingreflex commented 5 years ago

In Gmail/Google, a "quoted text" means that it must be included in the search.

It currently gets rid of any extra quotes "". While it's nice that it does that, it'd be cool if it could also create a field like include: {text: 'quoted text'} (just like it creates exclude with for hyphen -)

nepsilon commented 5 years ago

Sounds like a good feature, happy to accept and merge a pull request for that.