doc / ch.tutteli.atrium.api.infix.en_GB.creating / RegexPatterns

RegexPatterns

class RegexPatterns : VarArgHelper<String> (source)

Parameter object to express String, vararg String where they are treated as regex patterns.

Use the function regexPatterns("pattern", ...) to create this representation.

Properties

expected

val expected: String

The first argument in the argument list T, vararg T

otherExpected

val otherExpected: Array<out String>

The second argument in the argument list T, vararg T

Inherited Properties

mapArguments

open val mapArguments: ArgumentMapperBuilder<T>

Creates an ArgumentMapperBuilder which allows to map expected and otherExpected.

Inherited Functions

toList

open fun toList(): List<T>

Returns the arguments as List.