|
|
@ -5,13 +5,8 @@ public data class Config( |
|
|
|
val operator: String, |
|
|
|
val operator: String, |
|
|
|
val domain: String |
|
|
|
val domain: String |
|
|
|
) { |
|
|
|
) { |
|
|
|
val internalGame: String |
|
|
|
val internalGame: String = game.toInternalName() |
|
|
|
val internalOperator: String |
|
|
|
val internalOperator: String = operator.toInternalName() |
|
|
|
|
|
|
|
|
|
|
|
init { |
|
|
|
|
|
|
|
internalGame = game.toInternalName() |
|
|
|
|
|
|
|
internalOperator = operator.toInternalName() |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private companion object { |
|
|
|
private companion object { |
|
|
|
private val INTERNAL_NAME_REGEX = Regex("(?i)[^a-z0-9]+") |
|
|
|
private val INTERNAL_NAME_REGEX = Regex("(?i)[^a-z0-9]+") |
|
|
|