Added square and curly braces to supported grouping symbols