Allows the use of regexs to create lists of xml

Specifically, makes /wd flags work.