From c577fa809b4394679b847903cd75e266c13a6fa0 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Mon, 9 Oct 2023 20:54:55 +0100 Subject: [PATCH] ;doc: csv: negative matchers (#2088) --- hledger/hledger.m4.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hledger/hledger.m4.md b/hledger/hledger.m4.md index f981186cb..f844ea266 100644 --- a/hledger/hledger.m4.md +++ b/hledger/hledger.m4.md @@ -3277,7 +3277,8 @@ When an if block has multiple matchers, they are combined as follows: - By default they are OR'd (any one of them can match) - When a matcher is preceded by ampersand (`&`) it will be AND'ed with the previous matcher (both of them must match). -There's not yet an easy syntax to negate a matcher. +When a matcher is preceded by an exclamation mark (!), the matcher will be negated, ie it will exclude CSV records that match. + ## `if` table