fix: 修复 RMA70-12 匹配正则表达式

This commit is contained in:
2025-02-26 16:12:42 +08:00
parent a99f381f7f
commit 0228ac8393

View File

@@ -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