pull/1155/head
gedoor 3 years ago
parent 3de7ec5e3d
commit 8629f75e5d
  1. 6
      app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeRule.kt

@ -367,6 +367,8 @@ class AnalyzeRule(val ruleData: RuleDataInterface) : JsExtensions {
mMode = Mode.Regex
isRegex = true
start = 1
} else if (isRegex) {
mMode = Mode.Regex
}
var tmp: String
val jsMatcher = JS_PATTERN.matcher(ruleStr)
@ -437,10 +439,6 @@ class AnalyzeRule(val ruleData: RuleDataInterface) : JsExtensions {
mode = Mode.Json
ruleStr
}
isRegex -> {
mode = Mode.Regex
ruleStr
}
else -> ruleStr
}
//分离put

Loading…
Cancel
Save