accept regexs in the search sanitizer

better-history/better-history#313
Merge pull request #13 from better-history/regexs

Accept regexs in the search sanitizer