diff --git a/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeRule.kt b/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeRule.kt index 8cd9937f5..4d17aa16d 100644 --- a/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeRule.kt +++ b/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeRule.kt @@ -456,7 +456,7 @@ class AnalyzeRule(var book: BaseBook? = null) : JsExtensions { while (evalMatcher.find()) { if (evalMatcher.start() > start) { tmp = rule.substring(start, evalMatcher.start()) - if (mode != Mode.Js && mode != Mode.Json && mode != Mode.Regex + if (mode != Mode.Js && mode != Mode.Regex && start == 0 && !tmp.contains("##") ) { mode = Mode.Regex