Popraw OTP, kafelki i aparat

This commit is contained in:
admin
2026-06-30 20:52:09 +02:00
parent f38123a1ae
commit d4f867bf14
6 changed files with 147 additions and 13 deletions
@@ -0,0 +1,8 @@
package pl.firmatpp.kierowca.domain
object OtpCodeExtractor {
private val codePattern = Regex("""(?<!\d)\d{4,10}(?!\d)""")
fun extract(message: String): String? =
codePattern.find(message)?.value
}