up regex
This commit is contained in:
@@ -12,8 +12,8 @@ android {
|
||||
applicationId = namespace
|
||||
minSdk = libs.versions.proj.min.get().toInt()
|
||||
targetSdk = libs.versions.proj.target.get().toInt()
|
||||
versionCode = 45
|
||||
versionName = "1.24.1"
|
||||
versionCode = 46
|
||||
versionName = "1.24.2"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ import ru.shadowsparky.chat.domain.TextToken
|
||||
|
||||
@Factory
|
||||
class MovieTextParser : ChatTextParser {
|
||||
private val regex = Regex("\\[MOVIE\\](.*?)\\[/MOVIE\\]")
|
||||
private val regex = Regex("\\*\\*(.*?)\\*\\*")
|
||||
|
||||
override fun parse(content: String): List<TextToken> {
|
||||
val tokens = mutableListOf<TextToken>()
|
||||
|
||||
Reference in New Issue
Block a user