[PATCH 2/8] jscript: Support passing non-string flags to RegExp constructor.