Ensure escaped slashes matched correctly.

Fixes #171
Merge pull request #174 from markalfred/mb/escaped-slashes-regex

Ensure escaped slashes matched correctly.