common-ktx

//library/ss_n.common_ktx.extension/matchPattern

matchPattern

[androidJvm]
fun String.matchPattern(pattern: String, errorMessage: String = "", error: (String) -> Unit?? = null): Boolean

Regex String

Return

true:matched

Parameters

androidJvm

   
pattern regex pattern
errorMessage error message
error response method