mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-20 02:37:12 +03:00
doc: comment
This commit is contained in:
parent
345bffb235
commit
a048705542
@ -294,7 +294,7 @@ journalDateSpan j
|
|||||||
|
|
||||||
-- | Check if a set of ledger account/description patterns matches the
|
-- | Check if a set of ledger account/description patterns matches the
|
||||||
-- given account name or entry description. Patterns are case-insensitive
|
-- 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 :: [String] -> String -> Bool
|
||||||
matchpats pats str =
|
matchpats pats str =
|
||||||
(null positives || any match positives) && (null negatives || not (any match negatives))
|
(null positives || any match positives) && (null negatives || not (any match negatives))
|
||||||
|
Loading…
Reference in New Issue
Block a user