Use Regexp.escape instead of re-implementing it
Merge pull request #460 from jpmckinney/regexp

Use Regexp.escape instead of re-implementing it