From 401505a1ce7c32a273c55e66eea89bd6e1194bf9 Mon Sep 17 00:00:00 2001 From: "weiye.wang" Date: Sat, 13 Apr 2024 15:50:20 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=9B=E4=B8=80=E6=AD=A5=E4=BC=98=E5=8C=96ma?= =?UTF-8?q?thpix=E7=94=9F=E6=88=90=E6=96=87=E6=9C=AC=E6=97=B6=E5=8E=BB?= =?UTF-8?q?=E9=99=A4=E9=A2=98=E5=9E=8B=E5=90=8E=E6=8F=90=E7=A4=BA=E6=96=87?= =?UTF-8?q?=E5=AD=97=E7=9A=84=E8=83=BD=E5=8A=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 工具v2/database_tools.py | 1 + 1 file changed, 1 insertion(+) diff --git a/工具v2/database_tools.py b/工具v2/database_tools.py index b9762ccf..49c334eb 100644 --- a/工具v2/database_tools.py +++ b/工具v2/database_tools.py @@ -1689,6 +1689,7 @@ def RipTestPaperDesc(string): string = re.sub(r"本[大]*题[^\n]*?步骤\.{0,1}","",string) #去除解答题需要写出步骤提示 string = re.sub(r"\({0,1}本[大]*题共有[^\n]*\d+\s*分\.{0,1}\){0,1}","",string) #去除解答题单题分数提示 string = re.sub(r"每题有[^\n]*涂黑\.{0,1}","",string) #去除选择题提示 + string = re.sub(r"考生[^\n]*结果\.*","",string) #去除作答提示 return string def SubstringOccurence(regex,string): #生成regex在string中出现的所有位置