diff --git a/Source/CTest/cmCTestCoverageHandler.cxx b/Source/CTest/cmCTestCoverageHandler.cxx index e542a4df8..e5ee9a11b 100644 --- a/Source/CTest/cmCTestCoverageHandler.cxx +++ b/Source/CTest/cmCTestCoverageHandler.cxx @@ -196,7 +196,7 @@ int cmCTestCoverageHandler::ProcessHandler() // Style 2 - std::string st2gcovOutputRex1 = "^File *`(.*)'$"; + std::string st2gcovOutputRex1 = "^File *[`'](.*)'$"; std::string st2gcovOutputRex2 = "Lines executed: *[0-9]+\\.[0-9]+% of [0-9]+$"; std::string st2gcovOutputRex3 = "^(.*):creating `(.*\\.gcov)'"; std::string st2gcovOutputRex4 = "^(.*):unexpected EOF *$";