From 9b3486c14c99e692a73cb42217c07dfafec8e8bf Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sat, 14 Apr 2012 01:11:11 +0000 Subject: [PATCH] docs: fix incorrect haddock --- hledger-lib/Hledger/Data/AccountName.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hledger-lib/Hledger/Data/AccountName.hs b/hledger-lib/Hledger/Data/AccountName.hs index 0292b183a..905a09da8 100644 --- a/hledger-lib/Hledger/Data/AccountName.hs +++ b/hledger-lib/Hledger/Data/AccountName.hs @@ -183,7 +183,7 @@ accountNameToAccountRegex :: String -> String accountNameToAccountRegex "" = "" accountNameToAccountRegex a = printf "^%s(:|$)" a --- | Convert an account name to a regular expression matching it and its subaccounts. +-- | Convert an account name to a regular expression matching it but not its subaccounts. accountNameToAccountOnlyRegex :: String -> String accountNameToAccountOnlyRegex "" = "" accountNameToAccountOnlyRegex a = printf "^%s$" a