nl_tokens: Validates Unicode group name .
pl_tokens: function validateUnicodeGroupName ( name , state ) { const isUnicodeName = uRe . test ( name ) || ucpRe . test ( name ) ; const isUnicodeState = ( state === 'u' || state === 'xu' || state === 'u_class' ) ; if ( isUnicodeName && ! isUnicodeState ) { throw <mask> SyntaxError ( ` ${ name } \` \` ` ) ; } }