expand parenthesis to braces etc