Skip to content
Snippets Groups Projects
Commit ff2bd352 authored by Van Herck, Walter's avatar Van Herck, Walter
Browse files

Replace boost::regex with std::regex in FileSystemUtils

parent fe2b621e
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@
#include "FileSystemUtils.h"
#include "Exceptions.h"
#include <boost/filesystem.hpp>
#include <boost/regex.hpp>
#include <regex>
#include <cassert>
#include <stdexcept>
......@@ -77,7 +77,7 @@ std::vector<std::string> FileSystemUtils::glob(const std::string& dir, const std
{
std::vector<std::string> ret;
for (const std::string& fname : filesInDirectory(dir))
if (boost::regex_match(fname, boost::regex(pattern)))
if (std::regex_match(fname, std::regex(pattern)))
ret.push_back(fname);
return ret;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment