diff --git a/MitamatchOperations/Pages/ControlDashboardPage.xaml.cs b/MitamatchOperations/Pages/ControlDashboardPage.xaml.cs index 2640c899..6cf5cab9 100644 --- a/MitamatchOperations/Pages/ControlDashboardPage.xaml.cs +++ b/MitamatchOperations/Pages/ControlDashboardPage.xaml.cs @@ -646,7 +646,7 @@ private void Update(string user, Order ordered) private static Task Analyze(string raw) { - var orderedRegex = OrderPrepareRegex(); + var orderedRegex = new Regex(@"(.+)がオーダー(.+)を準備"); var match = orderedRegex.Match(raw); return Task.FromResult(match.Success @@ -757,10 +757,7 @@ private void DeckLoadBox_OnSelectionChanged(object sender, SelectionChangedEvent { LoadButton.IsEnabled = true; } - - [GeneratedRegex(@"(.+)がオーダー(.+)を準備")] - private static partial Regex OrderPrepareRegex(); - + private void AddScreen_OnClick(object sender, RoutedEventArgs e) { if (sender is not ToggleButton toggle) return;