From 3c683d57a8dd039a3ad80b85866e1178bcf3f508 Mon Sep 17 00:00:00 2001 From: dankito Date: Sat, 23 May 2020 20:47:19 +0200 Subject: [PATCH] Fixed that usage types only consist of upper case letters --- .../net/dankito/banking/fints/transactions/mt940/Mt940Parser.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fints4k/src/main/kotlin/net/dankito/banking/fints/transactions/mt940/Mt940Parser.kt b/fints4k/src/main/kotlin/net/dankito/banking/fints/transactions/mt940/Mt940Parser.kt index b180fcea..4e06707e 100644 --- a/fints4k/src/main/kotlin/net/dankito/banking/fints/transactions/mt940/Mt940Parser.kt +++ b/fints4k/src/main/kotlin/net/dankito/banking/fints/transactions/mt940/Mt940Parser.kt @@ -55,7 +55,7 @@ open class Mt940Parser : IMt940Parser { val AmountPattern = Pattern.compile("\\d+,\\d*") - val UsageTypePattern = Pattern.compile("\\w{4}\\+") + val UsageTypePattern = Pattern.compile("[A-Z]{4}\\+") const val EndToEndReferenceUsageKey = "EREF+"