@Override
  protected boolean compareLines(final String actualLine, final String goldenLine) {
    debug(
        "RegexGoldenComparator:compareLines comparing \" + actualLine + \" to \" + goldenLine + \"");
    return Pattern.compile(goldenLine).matcher(actualLine).matches();
  }
Compares test output to golden text file using regex pattern matching
geode-junit/src/main/java/org/apache/geode/test/golden/RegexGoldenComparator.java