Last active
December 16, 2020 18:08
-
-
Save xrrocha/f6f35c59337bda4c8473d4d0ce2862e1 to your computer and use it in GitHub Desktop.
code block for README-10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun String.toRegex(): Regex { | |
return Regex(Pattern.compile(this)) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment