From 1d9d6e4ac25a8dc5d1b414860c72e78585f2cd30 Mon Sep 17 00:00:00 2001 From: Corwin Kuiper Date: Fri, 4 Jun 2021 19:15:16 +0100 Subject: [PATCH] fix regex --- mgba-test-runner/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mgba-test-runner/src/main.rs b/mgba-test-runner/src/main.rs index 12b916b9..40b5ccd9 100644 --- a/mgba-test-runner/src/main.rs +++ b/mgba-test-runner/src/main.rs @@ -18,7 +18,7 @@ enum Status { fn test_file(file_to_run: &str) -> Status { let mut finished = Status::Running; - let debug_reader_mutex = Regex::new(r"^\[(.*)\] GBA Debug: (.*)$").unwrap(); + let debug_reader_mutex = Regex::new(r"(?s)^\[(.*)\] GBA Debug: (.*)$").unwrap(); let mut mgba = runner::MGBA::new(file_to_run); let video_buffer = mgba.get_video_buffer();