From e8d592ae76e4837282f8d143c5f3d0f72e2e68ed Mon Sep 17 00:00:00 2001 From: aoxuan Date: Wed, 16 Apr 2025 16:58:22 +0800 Subject: [PATCH] =?UTF-8?q?refactor(app):=20=E4=BC=98=E5=8C=96=E5=85=B3?= =?UTF-8?q?=E5=8D=A1=E6=8E=89=E8=90=BD=E7=89=A9=E5=93=81=E6=AD=A3=E5=88=99?= =?UTF-8?q?=E5=8C=B9=E9=85=8D?= 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 92fa29c..7709786 100644 --- a/app/core/config.py +++ b/app/core/config.py @@ -1368,7 +1368,7 @@ class AppConfig(GlobalConfig): # 如果已经找到了关卡,处理掉落物 if current_stage: item_match: List[str] = re.findall( - r"^(?!\[)([\u4e00-\u9fa5A-Za-z0-9\-]+)\s*:\s*([\d,]+)(?:\s*\(\+[\d,]+\))?", + r"^(?!\[)(\S+?)\s*:\s*([\d,]+)(?:\s*\(\+[\d,]+\))?", line, re.M, )