add xpath and regex matchers