diff --git a/src/lib.rs b/src/lib.rs index 61e0aae..881cba2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -50,7 +50,7 @@ impl DisbahnClient { } fn html_to_discord_markdown(input: &str) -> String { - static RE_TIMES: &Lazy = regex!(r#"^.*\s*"#i); + static RE_TIMES: &Lazy = regex!(r#"^.*?\s*"#i); static RE_BOLD: &Lazy = regex!(r#"((.|\n)*?)"#i); static RE_ITALIC: &Lazy = regex!(r#"((.|\n)*?)"#i); static RE_STRIKETHROUGH: &Lazy = regex!(r#"((.|\n)*?)"#i);