From 9d14ad71662d6b53c1f20c40424765058ff7093e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Saparelli?= Date: Sun, 17 Oct 2021 04:03:18 +1300 Subject: [PATCH] Document that == and != are case-insensitive --- lib/src/filter/tagged.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/filter/tagged.rs b/lib/src/filter/tagged.rs index f8c9350..f1fc785 100644 --- a/lib/src/filter/tagged.rs +++ b/lib/src/filter/tagged.rs @@ -46,7 +46,7 @@ pub mod swaplock; /// ``` /// /// There is a set of [operators][Op]: -/// - `==` and `!=`: exact match and exact not match +/// - `==` and `!=`: exact match and exact not match (case insensitive) /// - `~=` and `~!`: regex match and regex not match /// - `*=` and `*!`: glob match and glob not match /// - `:=` and `:!`: set match and set not match @@ -647,7 +647,7 @@ impl Matcher { /// How a filter value is interpreted. /// -/// - `==` and `!=` match on the exact value as string equality, +/// - `==` and `!=` match on the exact value as string equality (case-insensitively), /// - `~=` and `~!` match using a [regex], /// - `*=` and `*!` match using a glob, either via [globset] or [ignore] /// - `:=` and `:!` match via exact string comparisons, but on any of the list of values separated