Closed christianp closed 2 years ago
e.g. Numbas.util.splitbrackets('{a("{b}")}','{','}','(',')') should return ['', 'a("{b}")'], but instead at the moment it returns ['', 'a("(b)")'] - the nested curly brackets are replaced with parentheses.
Numbas.util.splitbrackets('{a("{b}")}','{','}','(',')')
['', 'a("{b}")']
['', 'a("(b)")']
e.g.
Numbas.util.splitbrackets('{a("{b}")}','{','}','(',')')
should return['', 'a("{b}")']
, but instead at the moment it returns['', 'a("(b)")']
- the nested curly brackets are replaced with parentheses.