W3cubDocs

/Kotlin

Regex_1

Platform and version requirements: JS (1.1)
fun Regex_1(pattern: String): Regex
Deprecated: Provided for binary compatibility

Creates a regular expression from the specified pattern string and the default 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_1.html