some regex cleanup. Match capital X,Y,Z in symmetry string
Automatic Py3k merge for testing