diff --git a/src/lib/drivers/mod.rs b/src/lib/drivers/mod.rs index 7dec478..7f6893b 100644 --- a/src/lib/drivers/mod.rs +++ b/src/lib/drivers/mod.rs @@ -138,6 +138,10 @@ impl std::fmt::Debug for dyn DriverInfo { } fn process_old_format(entry: &str) -> Option { + if entry.contains("://") { + return None; + } + let captures = Regex::new(r"^(?P\w+):(?P[^:]+)(:(?P\d+))?$") .unwrap() .captures(entry)?;