code: public PactDslRequestWithPath matchHeader(String header, String regex) {
          return matchHeader(header, regex, new Generex(regex).random());
      }
docs: Match a request header. A random example header value will be generated from the provided regular expression.
  
  @param header Header to match
  @param regex  Regular expression to match