Merge branch 'master' of https://github.com/gedoor/legado into master

pull/399/head
Robot 4 years ago
commit 76c03a1a6c
  1. 2
      app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeRule.kt

@ -464,6 +464,8 @@ class AnalyzeRule(var book: BaseBook? = null) : JsExtensions {
mode = Mode.Regex mode = Mode.Regex
} }
splitRegex(tmp) splitRegex(tmp)
} else if (evalMatcher.start() == 0) {
mode = Mode.Regex
} }
tmp = evalMatcher.group() tmp = evalMatcher.group()
when { when {

Loading…
Cancel
Save