mirror of
https://github.com/gedoor/legado.git
synced 2024-09-01 09:34:25 +08:00
优化
This commit is contained in:
parent
3f5ded2c4e
commit
d30dc44aa9
@ -9,7 +9,7 @@ import splitties.init.appCtx
|
||||
import java.util.regex.Pattern
|
||||
|
||||
val legadoPattern: Pattern = Pattern.compile("\\|\\||&&|%%|@js:|@Json:|@css:|@@|@XPath:")
|
||||
val jsonPattern: Pattern = Pattern.compile("\"\\:|\"|\\{|\\}|\\[|\\]")
|
||||
val jsonPattern: Pattern = Pattern.compile("\".*?\"\\:|\"|\\{|\\}|\\[|\\]")
|
||||
val jsPattern: Pattern = Pattern.compile("var|\\\\n")
|
||||
|
||||
fun CodeView.addLegadoPattern() {
|
||||
|
Loading…
Reference in New Issue
Block a user