Add workaround for Regexp::Parser

To support some unrecognized escape sequences.
Fix #48
Add tests for workaround of regexp parser