code: public PactDslRequestWithPath matchQuery(String parameter, String regex) {
          return matchQuery(parameter, regex, new Generex(regex).random());
      }
docs: Match a query parameter with a regex. A random query parameter value will be generated from the regex.
  
  @param parameter Query parameter
  @param regex     Regular expression to match with