mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
std::regex_replace use $n for referencing and not \n.
This commit is contained in:
parent
710d648eda
commit
4407fdd3db
@ -54,7 +54,7 @@ void ParallelFileMerger::operator()(const fs::path& file)
|
||||
|
||||
if ( std::regex_match(filename, matches, fileWarningRegex_) )
|
||||
{
|
||||
std::string rank = std::regex_replace(filename, fileWarningRegex_, "\\1");
|
||||
std::string rank = std::regex_replace(filename, fileWarningRegex_, "$1");
|
||||
|
||||
if( std::regex_match(filename, logFileRegex_) )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user