code examples for regex and libxml2