feat: 支持 XX-EX1 类型关卡名列表添加

fix #11425
This commit is contained in:
uye
2024-12-28 15:38:12 +08:00
parent ea4256a9f2
commit 8b4dd70b48

View File

@@ -281,7 +281,7 @@ namespace MaaWpfGui.ViewModels.UI
private const string TempCopilotFile = "cache/_temp_copilot.json";
private string _taskType = "General";
private const string StageNameRegex = @"(?:[a-z]{0,3})(?:\d{0,2})-(?:(?:A|B|C|D|EX|S|TR|MO)-)?(?:\d{1,2})(\(Raid\)(?=\.json))?";
private const string StageNameRegex = @"(?:[a-z]{0,3})(?:\d{0,2})-(?:(?:A|B|C|D|EX|S|TR|MO)-?)?(?:\d{1,2})(\(Raid\)(?=\.json))?";
/// <summary>
/// 为自动战斗列表匹配名字