0
0
mirror of https://github.com/markusfisch/BinaryEye.git synced 2024-09-19 19:42:18 +02:00

Simplify ellipsis regex

This commit is contained in:
Markus Fisch 2024-09-17 22:31:42 +02:00
parent 97bee27827
commit 27789beeed

View File

@ -519,7 +519,7 @@ private inline fun <T : View> T.showIf(
}
private val nonAlNum = "[^a-zA-Z0-9]".toRegex()
private val multipleDots = "[]+".toRegex()
private val multipleDots = "…+".toRegex()
private fun String.foldNonAlNum() = replace(nonAlNum, "")
.replace(multipleDots, "")