Added regex in lexer to handle curly and squareBrackets