Rather than doing all the substr's,
What's wrong with substr? You can do dozens (if not hundreds) of substrs in the time it takes to start the regex engine.
In reply to Re^3: Parsing newick trees
by BrowserUk
in thread Parsing newick trees
by citromatik
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |