code: @Deprecated
      public PactDslJsonArray stringMatcher(String regex) {
        generators.addGenerator(Category.BODY, rootPath + appendArrayIndex(1), new RandomStringGenerator(10));
        stringMatcher(regex, new Generex(regex).random());
        return this;
      }
docs: Element that must match the regular expression
  @param regex regular expression
  @deprecated Use the version that takes an example value