diff --git a/server/main/src/diagnostics_parser.rs b/server/main/src/diagnostics_parser.rs index df2f20b..f798827 100644 --- a/server/main/src/diagnostics_parser.rs +++ b/server/main/src/diagnostics_parser.rs @@ -32,7 +32,7 @@ impl<'a, T: opengl::ShaderValidator + ?Sized> DiagnosticsParser<'a, T> { "NVIDIA Corporation" => { Regex::new(r#"^(?P\d+)\((?P\d+)\) : (?Perror|warning) [A-C]\d+: (?P.+)"#).unwrap() } - _ => Regex::new(r#"^(?PERROR|WARNING): (?P[^?<>*|"\n]+):(?P\d+): '[a-z]*' : (?P.+)$"#) + _ => Regex::new(r#"^(?PERROR|WARNING): (?P[^?<>*|"\n]+):(?P\d+): (?:'.*' :|[a-z]+\(#\d+\)) +(?P.+)$"#) .unwrap(), }) } @@ -122,7 +122,7 @@ impl<'a, T: opengl::ShaderValidator + ?Sized> DiagnosticsParser<'a, T> { mod diagnostics_test { use std::path::PathBuf; - use slog::{slog_o, Level}; + use slog::slog_o; use url::Url; use crate::{