修复规则解析bug

pull/403/head
gedoor 4 years ago
parent 1c0cb183aa
commit 0ea41c3f4f
  1. 2
      app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeRule.kt

@ -487,7 +487,7 @@ class AnalyzeRule(var book: BaseBook? = null) : JsExtensions {
mode = Mode.Regex
}
if (regexMatcher.start() > start) {
tmp = rule.substring(start, regexMatcher.start())
tmp = ruleStr.substring(start, regexMatcher.start())
ruleType.add(0)
ruleParam.add(tmp)
}

Loading…
Cancel
Save