fix: 修复 RMA70-12 匹配正则表达式
This commit is contained in:
@@ -520,7 +520,7 @@ class AppConfig:
|
|||||||
|
|
||||||
if current_stage:
|
if current_stage:
|
||||||
item_match: List[str] = re.findall(
|
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:
|
for item, total in item_match:
|
||||||
# 解析数值时去掉逗号 (如 2,160 -> 2160)
|
# 解析数值时去掉逗号 (如 2,160 -> 2160)
|
||||||
|
|||||||
Reference in New Issue
Block a user