Merge branch 'main' of github.com:MM2-0/Kvaesitso

This commit is contained in:
MM20 2024-12-05 18:42:26 +01:00
commit 2b08cb7413
No known key found for this signature in database
GPG Key ID: 0B61A8F2DEAFA389

View File

@ -24,7 +24,7 @@ internal class TextClassifierImpl : TextClassifier {
email = query
)
query.matches(Regex("^\\+?[0-9- /]{4,18}$")) -> TextClassificationResult(
query.matches(Regex("^\\+?[0-9- /.]{4,18}$")) -> TextClassificationResult(
type = TextType.PhoneNumber,
text = query,
phoneNumber = query