don't auto close } if there is the next character is different from null, space or tabulation.