Fixed checking if usage is formatted
This commit is contained in:
parent
725e0ef881
commit
50c6a72dff
|
@ -347,7 +347,7 @@ open class Mt940Parser : IMt940Parser {
|
||||||
}
|
}
|
||||||
|
|
||||||
protected open fun isFormattedUsage(usageParts: List<String>): Boolean {
|
protected open fun isFormattedUsage(usageParts: List<String>): Boolean {
|
||||||
return usageParts.any { UsageTypeRegex.matches(it) }
|
return usageParts.any { UsageTypeRegex.find(it) != null }
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue