some regex cleanup. Match capital X,Y,Z in symmetry string