toRegex
Converts the string into a regular expression Regex with the default options.
Since Kotlin
1.1Converts the string into a regular expression Regex with the specified single option.
Since Kotlin
1.1Converts the string into a regular expression Regex with the specified set of options.
Since Kotlin
1.1Converts the string into a regular expression Regex with the default options.
Since Kotlin
1.0Converts the string into a regular expression Regex with the specified single option.
Since Kotlin
1.0Converts the string into a regular expression Regex with the specified set of options.
Since Kotlin
1.0Converts this java.util.regex.Pattern to an instance of Regex.
Provides the way to use Regex API on the instances of java.util.regex.Pattern.