mirror of
https://github.com/gedoor/legado.git
synced 2024-09-01 09:34:25 +08:00
优化
This commit is contained in:
parent
6c56dcd28c
commit
bc5361d4c7
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user