so many bug fixes.
This commit is contained in:
@@ -42,7 +42,8 @@
|
||||
:extract {:invoice-number #"Invoice #\s*\n\s*[\w\.]+\s+[\w\./]+(.*)\s*\n"
|
||||
:customer-identifier #"Bill To[^\n]+\n[^\n]*\n([\w ]+)\s{2,}"
|
||||
:date #"Invoice #\s*\n\s*[\w\.]+\s+([\w\./]+)"
|
||||
:total #"Total\s+\$([0-9.,]+)"}
|
||||
:total #"Total\s+\$([0-9.,]+)"
|
||||
:account-number #"Account #\s+(\d+)"}
|
||||
:parser {:date [:clj-time "MM/dd/yy"]
|
||||
:total [:trim-commas nil]}}
|
||||
|
||||
@@ -211,7 +212,8 @@
|
||||
:extract {:date #"INVOICE DATE\s+([0-9]+/[0-9]+/[0-9]+)"
|
||||
:customer-identifier #"SHIP-TO-PARTY.*\n(.*?)(?=\s{2,})"
|
||||
:invoice-number #"INV #\s+(\d+)"
|
||||
:total #"PLEASE PAY THIS AMOUNT\s+([0-9]+\.[0-9]{2})"}
|
||||
:total #"PLEASE PAY THIS AMOUNT\s+([0-9]+\.[0-9]{2})"
|
||||
:account-number #"CUSTOMER NUMBER\s+(\d+)"}
|
||||
:parser {:date [:clj-time "MM/dd/yyyy"]
|
||||
:total [:trim-commas nil]}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user