docs: private String processIgnoreStatements(String control, String result) {
          if (control.equals(Citrus.IGNORE_PLACEHOLDER)) {
              return control;
          }
  
          Pattern whitespacePattern = Pattern.compile("[\\W]");
          Pattern ignorePattern = Pattern.compile("@ignore\\(?(\\d*)\\)?@");
  
          Matcher ignoreMatcher = ignorePattern.matcher(control);
          while (ignoreMatcher.find()) {
              String actualValue;
  
              if (ignoreMatcher.groupCount() > 0 && StringUtils.hasText(ignoreMatcher.group(1))) {
                  int end = ignoreMatcher.start() + Integer.valueOf(ignoreMatcher.group(1));
                  if (end > result.length()) {
                      end = result.length();
                  }
  
                  if (ignoreMatcher.start() > result.length()) {
                      actualValue = "";
                  } else {
                      actualValue = result.substring(ignoreMatcher.start(), end);
                  }
              } else {
                  actualValue = result.substring(ignoreMatcher.start());
                  Matcher whitespaceMatcher = whitespacePattern.matcher(actualValue);
                  if (whitespaceMatcher.find()) {
                      actualValue = actualValue.substring(0, whitespaceMatcher.start());
                  }
              }
  
              control = ignoreMatcher.replaceFirst(actualValue);
              ignoreMatcher = ignorePattern.matcher(control);
          }
  
          return control;
      }