the regular expression you are using does not support comments after the type of the block, such as in Mesquite's export of trees:
BEGIN TREES[!'Parameters: Tree search criterion: minimize Tree value using character matrix'];
This pull corrects it. I also added an optional sequence of whitespaces before the semicolon in both the BEGIN and END label, as it seems to be acceptable by the de facto standard.
Hi Simon,
the regular expression you are using does not support comments after the type of the block, such as in Mesquite's export of trees:
BEGIN TREES[!'Parameters: Tree search criterion: minimize Tree value using character matrix'];
This pull corrects it. I also added an optional sequence of whitespaces before the semicolon in both the BEGIN and END label, as it seems to be acceptable by the de facto standard.