@Override
  public String toString() {
    return "RetryMapping{"
        + "regexes="
        + Arrays.toString(regexes)
        + ", stacktraceRegexes="
        + Arrays.toString(stacktraceRegexes)
        + ", strategy="
        + strategy
        + '}';
  }
Whether hayStack contains the regex, even if '.' operator needs to match linebreaks.
portability-types-transfer/src/main/java/org/datatransferproject/types/transfer/retry/RetryMapping.java