mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-13 09:22:05 -05:00
std::regex_replace use $n for referencing and not \n.
This commit is contained in:
1 parent
710d648eda
commit
4407fdd3db
1 file changed
+1
-1
@@ -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_) )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user