修复规则解析bug

pull/403/head
gedoor 4 years ago
parent 7e7da0b2fd
commit 6219ab8774
  1. 2
      app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeRule.kt

@ -458,7 +458,7 @@ class AnalyzeRule(var book: BaseBook? = null) : JsExtensions {
}
tmp = evalMatcher.group()
when {
tmp.startsWith("$") && !rule.contains("##") -> {
tmp.startsWith("$") -> {
ruleType.add(tmp.substring(1).toInt())
ruleParam.add(tmp)
}

Loading…
Cancel
Save