|
|
|
@ -376,8 +376,7 @@ class AnalyzeRule(var book: BaseBook? = null) : JsExtensions { |
|
|
|
|
val jsMatcher = JS_PATTERN.matcher(vRuleStr) |
|
|
|
|
while (jsMatcher.find()) { |
|
|
|
|
if (jsMatcher.start() > start) { |
|
|
|
|
tmp = vRuleStr.substring(start, jsMatcher.start()) |
|
|
|
|
.trim { it <= ' ' } |
|
|
|
|
tmp = vRuleStr.substring(start, jsMatcher.start()).trim { it <= ' ' } |
|
|
|
|
if (!TextUtils.isEmpty(tmp)) { |
|
|
|
|
ruleList.add(SourceRule(tmp, mMode)) |
|
|
|
|
} |
|
|
|
|