WebKit2: free regex and xhtml