diff --git a/src/line/list.rs b/src/line/list.rs index 2a1f328..9cfb721 100644 --- a/src/line/list.rs +++ b/src/line/list.rs @@ -12,7 +12,7 @@ impl List { pub fn from(line: &str) -> Option { // Parse line let regex = Regex::split_simple( - r"^\*\s*(.+)$", + r"^\*\s*(.*)$", line, RegexCompileFlags::DEFAULT, RegexMatchFlags::DEFAULT, diff --git a/src/line/quote.rs b/src/line/quote.rs index 128193b..39dae62 100644 --- a/src/line/quote.rs +++ b/src/line/quote.rs @@ -12,7 +12,7 @@ impl Quote { pub fn from(line: &str) -> Option { // Parse line let regex = Regex::split_simple( - r"^>\s*(.+)$", + r"^>\s*(.*)$", line, RegexCompileFlags::DEFAULT, RegexMatchFlags::DEFAULT,