diff --git a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/transactions/mt940/Mt940Parser.kt b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/transactions/mt940/Mt940Parser.kt index f56d8548..50c745b9 100644 --- a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/transactions/mt940/Mt940Parser.kt +++ b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/transactions/mt940/Mt940Parser.kt @@ -347,7 +347,7 @@ open class Mt940Parser : IMt940Parser { } protected open fun isFormattedUsage(usageParts: List): Boolean { - return usageParts.any { UsageTypeRegex.matches(it) } + return usageParts.any { UsageTypeRegex.find(it) != null } } /**