From a8fb417ef1fb696723c8b8d5a340e8ca2e0312ae Mon Sep 17 00:00:00 2001
From: mrDarker <mr.darker@163.com>
Date: 星期六, 09 八月 2025 10:43:17 +0800
Subject: [PATCH] Merge branch 'clh' into liuyang

---
 SourceCode/Bond/Servo/PageLog.cpp |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/SourceCode/Bond/Servo/PageLog.cpp b/SourceCode/Bond/Servo/PageLog.cpp
index 7fe626a..c5cd4a9 100644
--- a/SourceCode/Bond/Servo/PageLog.cpp
+++ b/SourceCode/Bond/Servo/PageLog.cpp
@@ -79,8 +79,13 @@
 							else {
 								CString strTemp = strText;
 								strTemp.TrimRight();
-								bMatch = std::regex_match((LPTSTR)(LPCTSTR)strTemp,
-									std::regex((LPTSTR)(LPCTSTR)m_strFilterText));
+								try {
+									bMatch = std::regex_match((LPTSTR)(LPCTSTR)strTemp,
+										std::regex((LPTSTR)(LPCTSTR)m_strFilterText));
+								}
+								catch (const std::regex_error& e) {
+
+								}
 							}
 							if (m_filterMode == FilterMode::Exclude) {
 								bMatch = !bMatch;

--
Gitblit v1.9.3