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