smart whitespace + support for quoted terms