From a0487055425e50107c2eea1aa5aa3b3e6c5772d1 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Wed, 14 Apr 2010 16:19:01 +0000 Subject: [PATCH] doc: comment --- hledger-lib/Hledger/Data/Journal.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hledger-lib/Hledger/Data/Journal.hs b/hledger-lib/Hledger/Data/Journal.hs index deda9839e..b74a2d9c4 100644 --- a/hledger-lib/Hledger/Data/Journal.hs +++ b/hledger-lib/Hledger/Data/Journal.hs @@ -294,7 +294,7 @@ journalDateSpan j -- | Check if a set of ledger account/description patterns matches the -- given account name or entry description. Patterns are case-insensitive --- regular expression strings; those beginning with - are anti-patterns. +-- regular expressions. Prefixed with not:, they become anti-patterns. matchpats :: [String] -> String -> Bool matchpats pats str = (null positives || any match positives) && (null negatives || not (any match negatives))