<union> <query type="way"> <has-kv k="key" regv="^(value1|value2|value3)$"/> </query> <recurse type="way-node"/> </union> <print/>