Return error on unsupported options in Regex.compile
Merge pull request #1672 from meh/regex-compile

Return error on unsupported options in Regex.compile