From e37b94fcfc270d79a18138c2f5816207322c58a8 Mon Sep 17 00:00:00 2001 From: kunfei Date: Fri, 6 Sep 2019 15:13:27 +0800 Subject: [PATCH] up --- app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt b/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt index bdd18608c..4a958caa1 100644 --- a/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt +++ b/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt @@ -68,7 +68,7 @@ class AnalyzeUrl( init { baseUrl?.let { - this.baseUrl = it.split(",\n*".toRegex(), 1)[0] + this.baseUrl = it.split(",[^\\{]*".toRegex(), 1)[0] } headerMapF?.let { headerMap.putAll(it) } //替换参数