Whitespace in query regex is now properly escaped