Update regex parser to be more lenient
Merge pull request #2 from seegno/enhancement/lenient-regex-parser

Update regex parser to be more lenient