kotest-assertions-core / io.kotest.matchers.regex

Package io.kotest.matchers.regex

Extensions for External Classes

kotlin.text.Regex

Functions

areEqualRegexMatcher

fun areEqualRegexMatcher(regex: Regex): Matcher<Regex>

beRegex

fun beRegex(regex: Regex): Matcher<Regex>

haveExactOptions

fun haveExactOptions(options: Set<RegexOption>): Matcher<Regex>

havePattern

fun havePattern(pattern: String): Matcher<Regex>

haveRegexOptionMatcher

fun haveRegexOptionMatcher(option: RegexOption): Matcher<Regex>
fun haveRegexOptionMatcher(options: Set<RegexOption>): Matcher<Regex>

haveSamePatternMatcher

fun haveSamePatternMatcher(pattern: String): Matcher<Regex>

haveSameRegexOptionsMatcher

fun haveSameRegexOptionsMatcher(options: Set<RegexOption>): Matcher<Regex>

includeOption

fun includeOption(option: RegexOption): Matcher<Regex>

includeOptions

fun includeOptions(options: Set<RegexOption>): Matcher<Regex>