Return error on unsupported options in Regex.compile