Fix a few regexes that needed appropriate escaping
Merge pull request #99 from yuvipanda/more-robust-regexes

Fix a few regexes that needed appropriate escaping