Jbau regex questions

@sefk or @jrbl 

Adds regex and string matching reponse types:
+ tests
+ support for unicode in xml_metadata