Fixed checking if usage is formatted

This commit is contained in:
dankito 2020-09-14 01:18:03 +02:00
parent 725e0ef881
commit 50c6a72dff
1 changed files with 1 additions and 1 deletions

View File

@ -347,7 +347,7 @@ open class Mt940Parser : IMt940Parser {
}
protected open fun isFormattedUsage(usageParts: List<String>): Boolean {
return usageParts.any { UsageTypeRegex.matches(it) }
return usageParts.any { UsageTypeRegex.find(it) != null }
}
/**