From 5db79d982856f5656c64a237748cb0e70ce38b4d Mon Sep 17 00:00:00 2001 From: KITAGAWA Yasutaka Date: Mon, 16 Sep 2024 22:26:31 +0900 Subject: [PATCH] Change default delimiter --- src/finder/post.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/finder/post.rs b/src/finder/post.rs index 9daa9622..bf5985bc 100644 --- a/src/finder/post.rs +++ b/src/finder/post.rs @@ -43,7 +43,7 @@ _navi_input | _navi_map_fn | _navi_nonewline"# fn get_column(text: String, column: Option, delimiter: Option<&str>) -> String { if let Some(c) = column { let mut result = String::from(""); - let re = regex::Regex::new(delimiter.unwrap_or(r"\s\s+")).expect("Invalid regex"); + let re = regex::Regex::new(delimiter.unwrap_or(r"\s+")).expect("Invalid regex"); for line in text.split('\n') { if (line).is_empty() { continue;