fix: 修复掉落统计正则表达式错误统计时间的问题

This commit is contained in:
2025-02-27 16:04:45 +08:00
parent 928019390b
commit a116b3359c

View File

@@ -522,7 +522,7 @@ class AppConfig:
if current_stage:
item_match: List[str] = re.findall(
r"([\u4e00-\u9fa5A-Za-z0-9\-]+)\s*:\s*([\d,]+)(?:\s*\(\+[\d,]+\))?", line
r"^(?!\[)([\u4e00-\u9fa5A-Za-z0-9\-]+)\s*:\s*([\d,]+)(?:\s*\(\+[\d,]+\))?", line, re.M
)
for item, total in item_match:
# 解析数值时去掉逗号 (如 2,160 -> 2160