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: String, options: Set<RegexOption>)
Creates a regular expression from the specified pattern string and the specified set of options.
© 2010–2017 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/-regex/-init-.html