mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Let ParallelFileMerger only warn about CASENAME.[0-9]*.EXT files.
Previously the regex issued warning for all files containing ".[0-9]*." in the name in the output directory. That was too general and created more warnings than we wanted.
This commit is contained in:
@@ -64,7 +64,7 @@ public:
|
||||
|
||||
void operator()(const fs::path& file)
|
||||
{
|
||||
const static boost::regex regex(".+\\.(\\d+)\\..+");
|
||||
const static boost::regex regex("[^.]+\\.(\\d+)\\.[^.]+");
|
||||
boost::smatch matches;
|
||||
std::string filename = file.filename().native();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user