From 501edb9ca20928f2de27e52cc023d5e7f027ef08 Mon Sep 17 00:00:00 2001 From: chengxl Date: Tue, 11 Nov 2025 11:26:33 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=87=E6=BB=A4=E6=A0=87=E7=AD=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/common/ProofReadService.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/common/ProofReadService.php b/application/common/ProofReadService.php index 2dcecf3..1a52e26 100644 --- a/application/common/ProofReadService.php +++ b/application/common/ProofReadService.php @@ -301,7 +301,8 @@ class ProofReadService // 3. 核心优先级:运算符规则(精准匹配,排除No.编号干扰) [ - 'pattern' => '~(\S)\s*([<>!]=|===|!==)\s*(\S)~u', + // 'pattern' => '~(\S)\s*([<>!]=|===|!==)\s*(\S)~u', + 'pattern' => '~(?)\s*(\S)\s*([<>!]=|===|!==)\s*(\S)(?!<[a-z]+>)~u', 'replacement' => '$1 $2 $3', 'verbatim_texts' => '复合运算符前后空格不规范', 'explanation' => '复合运算符[>=、<=、==、!=、===、!==]前后应各留一个空格',