Add a matcher to check a string against a regular expression

This resolves #36