From 0228ac8393b6a62f0e97d499c5850ddfc9493cfb Mon Sep 17 00:00:00 2001 From: aoxuan Date: Wed, 26 Feb 2025 16:12:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20`RMA70-12`=20?= =?UTF-8?q?=E5=8C=B9=E9=85=8D=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 --- app/core/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/core/config.py b/app/core/config.py index fc24fcf..454f3db 100644 --- a/app/core/config.py +++ b/app/core/config.py @@ -520,7 +520,7 @@ class AppConfig: if current_stage: item_match: List[str] = re.findall( - r"([\u4e00-\u9fa5]+)\s*:\s*([\d,]+)(?:\s*\(\+[\d,]+\))?", line + r"([\u4e00-\u9fa5A-Za-z0-9\-]+)\s*:\s*([\d,]+)(?:\s*\(\+[\d,]+\))?", line ) for item, total in item_match: # 解析数值时去掉逗号 (如 2,160 -> 2160)