Last active
December 16, 2020 18:12
-
-
Save xrrocha/8db080ad96c6efec1a57c2fddc9ce91d to your computer and use it in GitHub Desktop.
code block for README-16
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
// Examine text looking for matches | |
WORD_REGEX.findAll(text) | |
.forEach { match -> | |
// Define range of inner letters | |
val range: IntRange = | |
match.range.first + 1 | |
until match.range.last | |
// ... shuffling stuff ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment