diff --git a/src/main.rs b/src/main.rs index 30d8ee2..5b1623a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -399,7 +399,7 @@ impl<'a> Iterator for GardenParser<'a> { } fn preprocess_markdown(string: String) -> String { - let double_brackets = Regex::new(r"\[\[(?P[\w .]+)\]\]").unwrap(); + let double_brackets = Regex::new(r"\[\[(?P[\w\- .]+)\]\]").unwrap(); let finder = LinkFinder::new(); let result = double_brackets