escaping newick names
corrected regex used to recognize when names need to be escaped