Wiremock not matching regex
问题 I'm using wiremock to mock certain requests and their respective response, but I'm trying to add a regex. Unfortunately, this just throws an exception stating that the request was not matched. { "request" : { "method": "GET", "urlPattern": "/my/service/url?^.*(specificParam.*(M[0-9]{9})).*$" }, "response": { ... } } I also tried it with "urlPattern": "/my/service/url\\?^.*(specificParam.*(M[0-9]{9})).*$" The request I'm sending is /my/service/url?saml2=disabled&filter=specificParam%20eq%20