diff --git a/update/src/OfflineSymbolResolver.cpp b/update/src/OfflineSymbolResolver.cpp index c5f0cd61..3c65218c 100644 --- a/update/src/OfflineSymbolResolver.cpp +++ b/update/src/OfflineSymbolResolver.cpp @@ -15,7 +15,7 @@ bool ApplyPathSubstitutions( std::string& path, const PathSubstitutionList& path { for( const auto& substitution : pathSubstitutionlist ) { - if( std::regex_match(path, substitution.first) ) + if( std::regex_search(path, substitution.first) ) { path = std::regex_replace( path, substitution.first, substitution.second ); return true; @@ -168,4 +168,4 @@ void PatchSymbols( tracy::Worker& worker, const std::vector& pathSu { std::cerr << "Failed to patch symbols" << std::endl; } -} \ No newline at end of file +}