<init>(pattern: String)
Creates a regular expression from the specified pattern string and the default options.
<init>(pattern: String, option: RegexOption)
Creates a regular expression from the specified pattern string and the specified single option.
<init>(pattern: String, options: Set<RegexOption>)
Creates a regular expression from the specified pattern string and the specified set of options.
© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/-regex/-init-.html