maint: Add support to regexps in xml.match and xml.gmatch

* dietncl/xmlsugar.lua (match, gmatch): Likewise.
* tests/test-xmlsugar-match.lua: Updated accordingly.
* tests/test-xmlsugar-gmatch.lua: Likewise.