fun toString(): String
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.
© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributorsLicensed under the Apache License, Version 2.0.