Allow * character in telephone number
This commit is contained in:
@ -335,7 +335,7 @@ object Utils {
|
||||
}
|
||||
|
||||
fun isTelNumber(no: String): Boolean {
|
||||
return no.isNotEmpty() && Regex("^([+][1-9])?[0-9- (),#]{0,24}\$").matches(no)
|
||||
return no.isNotEmpty() && Regex("^([+][1-9])?[0-9- (),*#]{0,24}\$").matches(no)
|
||||
}
|
||||
|
||||
fun isTelUri(uri: String): Boolean {
|
||||
|
||||
Reference in New Issue
Block a user