Update AnalyzeRule.kt

优化
pull/1121/head
bushixuanqi 3 years ago committed by GitHub
parent 8c22274f66
commit 383155eac4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeRule.kt

@ -384,7 +384,7 @@ class AnalyzeRule(val ruleData: RuleDataInterface) : JsExtensions {
isRegex = true isRegex = true
ruleStr0.substring(1) ruleStr0.substring(1)
} }
( ruleStr0[1] == '.' || ruleStr0[1] == '[') && ruleStr0[0] == '$' { ( ruleStr0[1] == '.' || ruleStr0[1] == '[') && ruleStr0[0] == '$' -> {
mMode = Mode.Json mMode = Mode.Json
ruleStr0 ruleStr0
} }

Loading…
Cancel
Save