When removing quotes from a phrase, the ES query builder required a non-empty quoted string, and would raise a TypeError when presented with an empty one. Switching from a regex to a simple slice removing the first and last character from the phrase solves the problem.
When removing quotes from a phrase, the ES query builder required a non-empty quoted string, and would raise a TypeError when presented with an empty one. Switching from a regex to a simple slice removing the first and last character from the phrase solves the problem.
Fixes #4.
Mayhaps this and #7 would merit a release :smile: