A regex parser with the ability to match strings to a regular expression.