class LexicalIncludePaths {

  @NotNull
  public static Matcher matchFolderToRegex(@NotNull Pattern pattern, @NotNull File folder) {
    return pattern.matcher(FilenameUtils.separatorsToUnix(folder.getPath()) + UNIX_SEPARATOR);
  }

}