diff --git a/Main.hs b/Main.hs
--- a/Main.hs
+++ b/Main.hs
@@ -3,6 +3,7 @@
 import Hledger.Interest
 import Hledger.Query
 import Hledger.Read
+import Hledger.Utils
 
 import Control.Exception ( bracket )
 import Control.Monad
@@ -96,7 +97,7 @@
                    []    -> commandLineError "required argument ACCOUNT is missing\n"
                    [acc] -> return acc
                    _     -> commandLineError "only one interest ACCOUNT may be specified\n"
-  let jnl = filterJournalTransactions (Acct interestAcc) jnl'
+  let jnl = filterJournalTransactions (Acct (toRegex' interestAcc)) jnl'
       ts  = sortOn tdate (jtxns jnl)
       cfg = Config
             { interestAccount = T.pack interestAcc
diff --git a/hledger-interest.cabal b/hledger-interest.cabal
--- a/hledger-interest.cabal
+++ b/hledger-interest.cabal
@@ -1,5 +1,5 @@
 Name:                   hledger-interest
-Version:                1.5.5
+Version:                1.6.0
 Synopsis:               computes interest for a given account
 License:                BSD3
 License-file:           LICENSE
@@ -12,7 +12,7 @@
 Extra-source-files:     README.md
 Stability:              stable
 tested-with:            GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5
-                      , GHC == 8.8.3, GHC == 8.10.1
+                      , GHC == 8.8.4, GHC == 8.10.2
 
 Description:
  hledger-interest is a small command-line utility based on Simon
@@ -119,7 +119,7 @@
 Executable hledger-interest
   default-language:     Haskell2010
   Main-is:              Main.hs
-  Build-depends:        base >= 3 && < 5, hledger-lib == 1.18.*, time, mtl, Cabal, Decimal, text
+  Build-depends:        base >= 3 && < 5, hledger-lib == 1.19.*, time, mtl, Cabal, Decimal, text
   other-modules:        Hledger.Interest
                         Hledger.Interest.DayCountConvention
                         Hledger.Interest.Rate
