Takes a search string that isn't supposed to be used as a regular
expression and makes it regular-expression-able by escaping characters
that would otherwise have an unwanted meaning in a regular expression
(or worse, make the regular expression not compile, in which case we'd
be hosed).