Teach the highlighter about multiple adjacent square bracket expansions

Fixes #1627