Resolve 'fin' marker

This commit is contained in:
Hasinjato 2026-09-11 11:27:00 +03:00
parent 1809a5dea6
commit dec0355f65
2 changed files with 2 additions and 2 deletions

View file

@ -124,7 +124,7 @@ private val markerGroups = listOf(
Marker("Fine", "Fin"),
Marker("Fiverenana", "Réfrain"),
Marker("Isan\'andininy", "Réfrain"),
Marker("Fine", "Fin"),
Marker("Fin", "Fin"),
Marker("𝄌", "Coda"),
Marker("To_Coda", "Aller à la Coda"),
Marker("||:", "Début de reprise"),

View file

@ -569,7 +569,7 @@ class SharedScreenModel(private val fileRepository: FileRepository) : ScreenMode
.replace(Regex("""(D\.?C\.?)\s*(al\s*Coda)""", RegexOption.IGNORE_CASE), "D.C.alCoda")
.replace(Regex("""(D\.?S\.?)\s*(al\s*Coda)""", RegexOption.IGNORE_CASE), "D.S.alCoda")
val allStaticMarkers = getAllMarker()
val allStaticMarkers = getAllMarker().sortedByDescending { it.length }
val tempoRegex = Regex("""^(♩\s*=\s*\d+)""", RegexOption.IGNORE_CASE)
val modulaRegex = Regex("""^(D(?:ô|o)?\s*dia\s*(?:C|Db|D|Eb|E|F|Gb|G|Ab|A|Bb|B))""", RegexOption.IGNORE_CASE)