From b1394e507696b0590c9ee7eea87f1f26fe48fc8d Mon Sep 17 00:00:00 2001 From: kunfei Date: Sat, 17 Aug 2019 22:36:56 +0800 Subject: [PATCH] up --- .../main/java/io/legado/app/model/analyzeRule/AnalyzeRule.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeRule.kt b/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeRule.kt index 47c0bea3b..2689f7366 100644 --- a/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeRule.kt +++ b/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeRule.kt @@ -465,7 +465,9 @@ class AnalyzeRule(private var book: BaseBook? = null) { //get替换 rule = replaceGet(rule) // 拆分表达式替换规则 - AnalyzeByRegex.splitRegexRule(rule, ruleParam, ruleType) + if (mode != Mode.Js) { + AnalyzeByRegex.splitRegexRule(rule, ruleParam, ruleType) + } } fun makeUpRule(result: Any?) {