xml->regex