There are varying interpretations of the Newick/New Hampshire text format.
This function tries to adhere to the Felsenstein standard outlined
here.
The function supports weighted edges, labels with special
metacharacters (enclosed in single quotation marks),
comments (enclosed in square brackets; ignored by the parser),
multifuricating nodes, and both rooted and unrooted trees.
Comments enclosed in square brackets are also discarded.
Inner-node labels (for example
"(B:6.0,(A:5.0,C:3.0,E:4.0)Ancestor1:5.0,D:11.0);");
are also currently ignored; however, the parsing
of <U+201C>label<U+201D> attributes for non-leaf dendrogram nodes will be
available in a future version.