Fix float regex in xml processing function