Escape regex characters when updating hint. Fixes #76.
Merge pull request #77 from jharding/76-escape-regex-characters

Escape regex characters when updating hint