pull/63/head
kunfei 5 years ago
parent 52c8996af6
commit 4568b39af1
  1. 4
      app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeByRegex.kt

@ -16,7 +16,7 @@ object AnalyzeByRegex {
// 新建容器 // 新建容器
val info = arrayListOf<String>() val info = arrayListOf<String>()
for (groupIndex in 0..resM.groupCount()) { for (groupIndex in 0..resM.groupCount()) {
info.add(resM.group(groupIndex)) info.add(resM.group(groupIndex)!!)
} }
info info
} else { } else {
@ -43,7 +43,7 @@ object AnalyzeByRegex {
// 新建容器 // 新建容器
val info = arrayListOf<String>() val info = arrayListOf<String>()
for (groupIndex in 0..resM.groupCount()) { for (groupIndex in 0..resM.groupCount()) {
info.add(resM.group(groupIndex)) info.add(resM.group(groupIndex)!!)
} }
books.add(info) books.add(info)
} while (resM.find()) } while (resM.find())

Loading…
Cancel
Save