Merge pull request #1076 from boguscoder/regex_fix

relax regex match in symbolication substitution
This commit is contained in:
Bartosz Taudul
2025-06-19 11:34:06 +02:00
committed by GitHub

View File

@@ -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<std::string>& pathSu
{
std::cerr << "Failed to patch symbols" << std::endl;
}
}
}