testing regex and xml parsing