up regex
This commit is contained in:
+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