This is a php boolean expression verifier/parser I build for a Postgres full text index search input.