Validate a regular expression string against what ECMA-262 can actually do
https://github.com/gjtorikian/ecma-re-validator