Fix qt log detection

This commit is contained in:
TheKodeToad 2024-10-19 19:43:10 +01:00
parent 28aa65d3be
commit ba1c0d42f2
No known key found for this signature in database
GPG key ID: 5E39D70B4C93C38E

View file

@ -24,7 +24,7 @@ fn looks_like_launcher_log(log: &str) -> bool {
trace!("Guessing whether log is launcher log");
let qt_log = QT_LOG_REGEX.get_or_init(|| Regex::new(r"\d\.\d{3} [CDFIW] \|").unwrap());
let qt_log = QT_LOG_REGEX.get_or_init(|| Regex::new(r"\d+\.\d{3} [CDFIW] \|").unwrap());
qt_log.is_match(log)
}