highlighting stray closing brackets
better word characters, better error characters