nashorn/test/script/basic/NASHORN-637.js.EXPECTED
author hannesw
Wed, 10 Apr 2013 14:05:11 +0200
changeset 16939 9e3a9eda5775
parent 16147 e63b63819133
permissions -rw-r--r--
8011749: Bugs with empty character class handling Reviewed-by: lagergren, attila

/(?:[^[#\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