From 8ff7c15cd86e4a3243669389f7fe2b119f3f9f70 Mon Sep 17 00:00:00 2001 From: Bit0r Date: Sat, 27 May 2023 11:19:48 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E5=8C=B9=E9=85=8Dlatex=E6=B3=A8?= =?UTF-8?q?=E9=87=8A=E7=9A=84=E6=AD=A3=E5=88=99=E8=A1=A8=E8=BE=BE=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crazy_functions/Latex全文润色.py | 4 +--- crazy_functions/Latex全文翻译.py | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/crazy_functions/Latex全文润色.py b/crazy_functions/Latex全文润色.py index 1175e86..8d3f97b 100644 --- a/crazy_functions/Latex全文润色.py +++ b/crazy_functions/Latex全文润色.py @@ -66,7 +66,7 @@ def 多文件润色(file_manifest, project_folder, llm_kwargs, plugin_kwargs, ch with open(fp, 'r', encoding='utf-8', errors='replace') as f: file_content = f.read() # 定义注释的正则表达式 - comment_pattern = r'%.*' + comment_pattern = r'(?