From 2c1cbb79562d80d64dc791d4835c787978f424bb Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Tue, 12 May 2020 18:01:05 -0700 Subject: [PATCH] ;csv: remove a comment breaking doctests --- hledger-lib/Hledger/Read/CsvReader.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hledger-lib/Hledger/Read/CsvReader.hs b/hledger-lib/Hledger/Read/CsvReader.hs index 5d3c5cf0e..6600c8fe4 100644 --- a/hledger-lib/Hledger/Read/CsvReader.hs +++ b/hledger-lib/Hledger/Read/CsvReader.hs @@ -1084,7 +1084,7 @@ getEffectiveAssignment rules record f = lastMay $ map snd $ assignments -- - any quotes enclosing field values are removed -- - and the field separator is always comma -- which means that a field containing a comma will look like two fields. - wholecsvline = dbg3 "wholecsvline" $ intercalate "," record -- $ map strip record ? + wholecsvline = dbg3 "wholecsvline" $ intercalate "," record matcherMatches (FieldMatcher csvfieldref pat) = regexMatchesCI pat csvfieldvalue where -- the value of the referenced CSV field to match against.