|
|
@ -535,6 +535,7 @@ class AnalyzeRule(var book: BaseBook? = null) : JsExtensions { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
rule = infoVal.toString() |
|
|
|
rule = infoVal.toString() |
|
|
|
|
|
|
|
} |
|
|
|
//分离正则表达式 |
|
|
|
//分离正则表达式 |
|
|
|
val ruleStrS = rule.trim { it <= ' ' }.split("##") |
|
|
|
val ruleStrS = rule.trim { it <= ' ' }.split("##") |
|
|
|
rule = ruleStrS[0] |
|
|
|
rule = ruleStrS[0] |
|
|
@ -548,7 +549,6 @@ class AnalyzeRule(var book: BaseBook? = null) : JsExtensions { |
|
|
|
replaceFirst = true |
|
|
|
replaceFirst = true |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private fun isRule(ruleStr: String): Boolean { |
|
|
|
private fun isRule(ruleStr: String): Boolean { |
|
|
|
return when { |
|
|
|
return when { |
|
|
|