kotest-assertions-core / io.kotest.matchers.regex / kotlin.text.Regex / shouldHavePattern

shouldHavePattern

infix fun Regex.shouldHavePattern(regexPattern: String): Unit

Assert that Regex have pattern regexPattern.

See Also

shouldNotHavePattern

havePattern