@Override
  public ArrayList<String> getFoundTextFragments(LogData logData) {
    HashSet<String> result = new HashSet<>();
    String message = logData.getMessage();
    String messageLc = message.toLowerCase();
    int idx = 0;
    while ((idx = messageLc.indexOf(searchChar, idx)) > -1) {
      result.add(message.substring(idx, idx + searchChar.length()));
      idx++;
    }

    return new ArrayList<>(result);
  }
Matches if LogData message contains string (case insensitive)
olv-core/src/main/java/pl/otros/logview/gui/actions/search/StringContainsSearchMatcher.java