kotlin.text.Regex.<init>

<init>

Regex(pattern: String)

Platform and version requirements: JVM

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

Regex(pattern: String, option: RegexOption)

Platform and version requirements: JVM

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

Regex(pattern: