escape search terms for safe regex'ing
Merge pull request #4 from better-history/safe-regexing

Escape search terms for safe regex'ing