suggest escapes for impossible queries involving ^ and $
Created by: ijt
#4604 (closed) showed how a query like err$0
can make indexed search time out. It would be better to notify the user that the query cannot match anything and suggest a plausible variant of it that would match something.