From 0a80cfe7e3971b2a75a49c6bbe6895452ced432a Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Sun, 6 Nov 2022 11:15:45 -0500 Subject: [PATCH] Fix whitespace in set --- src/set.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/set.rs b/src/set.rs index ed80cc9..40948a2 100644 --- a/src/set.rs +++ b/src/set.rs @@ -174,7 +174,7 @@ fn reduce_selections<'sel, 'a>( // we can just use contains here let key = crate::utils::get_key( &swd.content, - options.skip_whitespace, + !options.skip_whitespace, options.regex.as_ref(), options.ignore_case, ); @@ -298,7 +298,7 @@ fn to_ordered_counts<'sel>( for i in selections { let key = crate::utils::get_key( &i, - options.skip_whitespace, + !options.skip_whitespace, options.regex.as_ref(), options.ignore_case, );