diff --git a/src/clj/auto_ap/parse/templates.clj b/src/clj/auto_ap/parse/templates.clj index 6175205b..d7d3bf61 100644 --- a/src/clj/auto_ap/parse/templates.clj +++ b/src/clj/auto_ap/parse/templates.clj @@ -101,7 +101,7 @@ :extract {:date #"INVOICE DATE(?s:.*)(?= (?:[0-9]+/[0-9]+/[0-9]+)\s+([0-9]+/[0-9]+/[0-9]+)) " :invoice-number #"INVOICE\n(?:.*?)(?=\d{4,})(\d+)" :total #"PAY THIS AMOUNT(?s:.*)(?= ([0-9,]+\.[0-9]{2}))" - :account-number #"ACCOUNT #.*\n.*[\n]?\s+(\d+)"} + :account-number #"ACCOUNT #.*\n.*?[\n]?\s+(\d+)"} :parser {:date [:clj-time "MM/dd/yy"] :total [:trim-commas nil]} :multi #"\f"