DuncanWilder / BooleanSearchParser

A way to translate Boolean Search logic into MySQL Fulltext Parameters
The Unlicense
6 stars 3 forks source link

Create validator to check if what is being passed in is sensible #6

Open DuncanWilder opened 8 years ago

DuncanWilder commented 8 years ago

E.g. if we see a standalone asterisk with a space either side (" * ") then throw an error if we see an asterisk inside quotes throw a warning If quotes/brackets are not balanced, throw an error If we see an asterisk before a word, throw an error

DuncanWilder commented 8 years ago

If we see an asterisk at the end of quotes, throw an error