diff --git a/dbms/src/Flash/LogSearch.cpp b/dbms/src/Flash/LogSearch.cpp index 866fa0a7a61..0a887ce2cdf 100644 --- a/dbms/src/Flash/LogSearch.cpp +++ b/dbms/src/Flash/LogSearch.cpp @@ -70,7 +70,7 @@ bool LogIterator::match(const LogMessage & log_msg) const auto & content = log_msg.message(); for (auto & regex : patterns) { - if (!RE2::FullMatch(content, regex)) + if (!RE2::PartialMatch(content, regex)) return false; }