Regex

Common
fun Regex(pattern: String)
fun Regex(pattern: String, option: RegexOption)
fun Regex(pattern: String, options: Set<RegexOption>)
fun Regex(pattern: String)
fun Regex(pattern: String)
fun Regex(pattern: String)

Creates a regular expression from the specified pattern string and the default options.

fun Regex(pattern: String, option: RegexOption)
fun Regex(pattern: String, option: RegexOption)
fun Regex(pattern: String, option: RegexOption)

Creates a regular expression from the specified pattern string and the specified single option.

fun Regex(pattern: String, options: Set<RegexOption>)
fun Regex(pattern: String, options: Set<RegexOption>)
fun Regex(pattern: String, options: Set<RegexOption>)

Creates a regular expression from the specified pattern string and the specified set of options.