8013873: Regexp regression for escaped dash in character class
Reviewed-by: jlaskey
/(?:[^[#\s\\]+|\\(?:[\S\s]|$)|\[\^?]?(?:[^\\\]]+|\\(?:[\S\s]|$))*]?)+|(\s*#[^\n\r\u2028\u2029]*\s*|\s+)([?*+]|{[0-9]+(?:,[0-9]*)?})?/g
/{[0-9]+}?/g
{123}
{a}
f{a}
f
SyntaxError
SyntaxError