Lexer get square brackets as separators