{
"match": true,
"comment": "XML array with regex matcher",
"expected": {
"headers": {},
"body" : {
"contentType": "application/xml",
"encoded": false,
"content": "29/10/2015"
},
"matchingRules" : {
"body": {
"$.myDates": {
"matchers": [
{
"match": "type"
}
]
},
"$.myDates[*].date['#text']": {
"matchers": [
{
"match": "regex",
"regex": "\\d{2}/\\d{2}/\\d{4}"
}
]
}
}
}
},
"actual": {
"headers": {},
"body": {
"contentType": "application/xml",
"encoded": false,
"content": "01/11/201015/12/201430/06/2015"
}
}
}