pull/48/head
kunfei 5 years ago
parent 41b9897341
commit 3d6c22d1b7
  1. 3
      app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeRule.kt

@ -470,6 +470,9 @@ class AnalyzeRule(private var book: BaseBook? = null) {
var tmp: String
val evalMatcher = evalPattern.matcher(rule)
while (evalMatcher.find()) {
if (mode == Mode.Default) {
mode = Mode.Regex
}
if (evalMatcher.start() > start) {
tmp = rule.substring(start, evalMatcher.start())
ruleType.add(0)

Loading…
Cancel
Save