toString

open override fun toString(): String(source)

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

Note that another regular expression constructed from the same pattern string may have different options and may match strings differently.

Since Kotlin

1.1
open override fun toString(): String(source)

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

Note that another regular expression constructed from the same pattern string may have different options and may match strings differently.

Since Kotlin

1.0