The 'newarray' term erroneously treats an array ref
like 'newItems[idx]' as if it were 'new Items[idx]'
and highlights 'new' as a keyword. The initial
portion of that pattern's regex needs to be changed
so that it will require at least one character
of whitespace or newline between the new keyword
and the start of the variable name.
Log in to post a comment.