Update AnalyzeRule.kt

意见
pull/1121/head
bushixuanqi 3 years ago committed by GitHub
parent 383155eac4
commit baae49f1ff
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

@ -379,7 +379,7 @@ class AnalyzeRule(val ruleData: RuleDataInterface) : JsExtensions {
mMode = Mode.Json
ruleStr0.substring(6)
}
ruleStr0.startsWith("?") -> {
ruleStr0.startsWith(":") -> { //:与伪类选择器冲突,改成?更合理
mMode = Mode.Regex
isRegex = true
ruleStr0.substring(1)

Loading…
Cancel
Save