assertk.assertions / matches

matches

fun Assert<String>.matches(regex: <ERROR CLASS>): Unit

Platform and version requirements: Common

Asserts the string matches the expected regular expression.