Update AnalyzeByJSoup.kt

更改重置区间操作的位置,避免不必要的操作
pull/1097/head
bushixuanqi 3 years ago committed by GitHub
parent 91f721e28c
commit a04e54543c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeByJSoup.kt

@ -244,8 +244,6 @@ class AnalyzeByJSoup(doc: Any) {
)
curList.clear() //重置
if(rl == '!'){
indexSet.split='!'
do{ rl = rus[--len] } while (len > 0 && rl == ' ')//跳过所有空格
@ -256,6 +254,7 @@ class AnalyzeByJSoup(doc: Any) {
} //遇到索引边界,返回结果
if(rl != ',') break //非索引结构,跳出
curList.clear() //重置
}
}

Loading…
Cancel
Save