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

shouldNotBeRegex

infix fun Regex.shouldNotBeRegex(anotherRegex: Regex): Unit

Assert that Regex is not equal to anotherRegex by comparing their pattern and options(RegexOption).

See Also

shouldBeRegex

beRegex