fix newick-illegal character matching