Skip to content

Instantly share code, notes, and snippets.

@takageymt
Created June 12, 2018 16:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save takageymt/12100d334438ba3d454ca8b36bc23dcf to your computer and use it in GitHub Desktop.
Save takageymt/12100d334438ba3d454ca8b36bc23dcf to your computer and use it in GitHub Desktop.
std::vector<std::string> get_html_paths(const std::string& dirpath) {
std::vector<std::string> filepaths;
enum_dir_elements(dirpath, filepaths, false);
return filter_with_regex(filepaths, ".*\\.html$");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment