Merge branch 'main' of github.com:MM2-0/Kvaesitso
This commit is contained in:
commit
2b08cb7413
@ -24,7 +24,7 @@ internal class TextClassifierImpl : TextClassifier {
|
|||||||
email = query
|
email = query
|
||||||
)
|
)
|
||||||
|
|
||||||
query.matches(Regex("^\\+?[0-9- /]{4,18}$")) -> TextClassificationResult(
|
query.matches(Regex("^\\+?[0-9- /.]{4,18}$")) -> TextClassificationResult(
|
||||||
type = TextType.PhoneNumber,
|
type = TextType.PhoneNumber,
|
||||||
text = query,
|
text = query,
|
||||||
phoneNumber = query
|
phoneNumber = query
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user