[opentitantool] Update rom detection regex after mask rom renaming
Signed-off-by: Miles Dai <milesdai@google.com>
diff --git a/sw/host/opentitanlib/src/util/rom_detect.rs b/sw/host/opentitanlib/src/util/rom_detect.rs
index 39724e2..3475752 100644
--- a/sw/host/opentitanlib/src/util/rom_detect.rs
+++ b/sw/host/opentitanlib/src/util/rom_detect.rs
@@ -44,7 +44,7 @@
usr_access: Self::scan_usr_access(bitstream)?,
console: UartConsole {
timeout: timeout,
- exit_success: Some(Regex::new(r"(\w+ROM):([^\r\n]+)[\r\n]").unwrap()),
+ exit_success: Some(Regex::new(r"(\w*ROM):([^\r\n]+)[\r\n]").unwrap()),
..Default::default()
},
})