W3cubDocs

/Kotlin

toString

fun toString(): String

Returns the string representation of this regular expression, namely the pattern of this regular expression.

© 2010–2018 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/-regex/to-string.html