Bugfix: 'd, 2' instead of 'd,2' was buggy
This commit is contained in:
parent
f086773059
commit
15d1772c24
1 changed files with 2 additions and 1 deletions
|
|
@ -181,7 +181,8 @@ class Solfa(val sharedScreenModel: SharedScreenModel, private val fileRepository
|
|||
val voiceNumber = noteLine.substring(0, 1).toInt()
|
||||
val templateStripped = REGEX_TEMPLATE_COMMENT.replace(templateString, "")
|
||||
val templateCharArray = templateStripped.toCharArray()
|
||||
val noteLine = REGEX_TEMPLATE_COMMENT.replace(noteLine, "")
|
||||
val noteLine = noteLine.replace(REGEX_TEMPLATE_COMMENT, "")
|
||||
.replace(" ", "")
|
||||
val lineRepeated = REGEX_REPETITION.replace(noteLine.substring(1)) { matchResult ->
|
||||
val (charIterated, iteration) = matchResult.destructured
|
||||
val nTimes = iteration.toInt()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue