anyOf

fun anyOf(vararg builders: RegexBuilder.() -> Unit): RegexBuilder(source)

Combines multiple builders into a single builder, separated by the OR operator (|).

Return

The current RegexBuilder instance.

Parameters

builders

The builders to combine.