square and curly brackets in string not parsed correctly #28