Commit 68a83a37 authored by Remi Mommsen's avatar Remi Mommsen Committed by Remi Mommsen
Browse files

references #144: fix reg-ex to match d3vfu machine names

parent 147be324
......@@ -751,7 +751,7 @@ void evb::bu::DiskWriter::writeHostList(const boost::filesystem::path& path, con
{
std::ofstream hostlist(path.string().c_str());
const std::regex regex("[a-zA-Z]+-[a-zA-Z0-9-]+");
const std::regex regex("[a-zA-Z0-9]+-[a-zA-Z0-9-]+");
std::sregex_iterator res(hosts.value_.begin(), hosts.value_.end(), regex);
const std::sregex_iterator end;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment