diff --git a/Cargo.toml b/Cargo.toml index 604c9bf..dd32a14 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,6 @@ edition = "2024" rust-version = "1.88.0" version = "0.2.0" license = "MIT" -homepage = "https://github.com/uutils/grep" keywords = ["grep", "uutils", "cross-platform", "cli", "utility"] categories = ["command-line-utilities"] diff --git a/src/matcher.rs b/src/matcher.rs index 5efacc3..02c1626 100644 --- a/src/matcher.rs +++ b/src/matcher.rs @@ -78,10 +78,7 @@ impl<'a> Matcher<'a> { } any_selected = true; // Drop zero-length matches from the output. - if start == end { - return false; - } - true + start != end }) .collect();