fixing escaping issue that breaks on ruby 1.9.3
Merge pull request #17 from fmobus/master

lib breaks on ruby 1.9.3 because of a regexp that is not compatible