Fix typo

Escape `.` in regular expression literal.
Merge pull request #2 from mathiasbynens/patch-2

Fix typo