code: @Deprecated
    public static PactDslRootValue stringMatcher(String regex) {
      PactDslRootValue rootValue = new PactDslRootValue();
      rootValue.generators.addGenerator(Category.BODY, "", new RegexGenerator(regex));
      rootValue.setValue(new Generex(regex).random());
      rootValue.setMatcher(rootValue.regexp(regex));
      return rootValue;
    }
docs: Value that must match the regular expression
  @param regex regular expression
  @deprecated Use the version that takes an example value