优化
This commit is contained in:
1 parent
10118f6a66
commit
93644f9868
1 file changed
+1
-1
@@ -85,7 +85,7 @@ data class ReplaceRule(
|
|||||||
try {
|
try {
|
||||||
Pattern.compile(pattern)
|
Pattern.compile(pattern)
|
||||||
} catch (ex: PatternSyntaxException) {
|
} catch (ex: PatternSyntaxException) {
|
||||||
AppLog.put(ex.message)
|
AppLog.put("正则语法错误或不支持:${ex.localizedMessage}", ex)
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user