Rename allowBraces to allowBrackets

Since '[' is bracket.