8022797: Clarify spliterator characteristics for collections containing no elements
Reviewed-by: alanb, mduigou
/(?:[^[#\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