Is there an easy way to split a string up into tokens while preserving anything enclosed in parentheses?
It would be nice if the quoteCharacters parameter in addTokens could be used for this. Something like:
myStringArray.addTokens ("Some magical string (with brackets)", " ", "()");
At the moment that just preservs things inbetween two open parentheses or two close parentheses.