From f574b782fad7cb6bd1ef62e2a98142eda4cba485 Mon Sep 17 00:00:00 2001 From: Pavan Rikhi Date: Sun, 22 Mar 2020 19:34:12 -0400 Subject: [PATCH] Fix Documentation for journalExpenseAccountQuery --- 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 b010753d3..183e78526 100644 --- a/hledger-lib/Hledger/Data/Journal.hs +++ b/hledger-lib/Hledger/Data/Journal.hs @@ -347,7 +347,7 @@ journalRevenueAccountQuery = journalAccountTypeQuery Revenue "^(income|revenue)s -- | A query for accounts in this journal which have been -- declared as Expense by account directives, or otherwise for -- accounts with names matched by the case-insensitive regular expression --- @^(income|revenue)s?(:|$)@. +-- @^expenses?(:|$)@. journalExpenseAccountQuery :: Journal -> Query journalExpenseAccountQuery = journalAccountTypeQuery Expense "^expenses?(:|$)"