boolean-parser-js icon indicating copy to clipboard operation
boolean-parser-js copied to clipboard

Sanity check for complex Boolean query pattern logic.

Results 7 boolean-parser-js issues
Sort by recently updated
recently updated
newest added

Hi, if you invoke the parser with string '(a AND b) OR c' will work but with ' (a AND b) OR c' it will end with : Unhandled rejection...

Hi, I am using your nice lib in [jca-filter](https://github.com/thipages/jca-filter) having adapted it for browser. Currently it is 'hard coded' in the lib. Is it possible to have an esm version,...

Fixes issues #5 ... I also have a fix for #4 in the future that I should have out soonish. Thanks for posting this library.

When doing: `IBM AND apple stuff AND (IBM OR Microsoft)` it returns: ``` [ ["IBM","IBM","apple stuff"], ["Microsoft","IBM","apple stuff"] ] ``` 'IBM' listed twice, should de-dupe and remove one.

When putting words in between quotes, threat it as one word, instead of 2 separate words. ``` "the mask" AND boat ``` Becomes: ``` [[The Mask, boat]] ```

enhancement

For instance, when setting the `defaultSplitTerm` to `AND`, you can reduce the following query in length: ``` a AND b AND c ``` Becomes: ``` a b c ``` This...

enhancement