优化
This commit is contained in:
@@ -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