fix regex

This commit is contained in:
Corwin Kuiper 2021-06-04 19:15:16 +01:00
parent a7cb7ea7b4
commit 1d9d6e4ac2

View file

@ -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();