|
|
@ -273,7 +273,7 @@ object BookHelp { |
|
|
|
if (enableReplace) { |
|
|
|
if (enableReplace) { |
|
|
|
upReplaceRules(name, origin) |
|
|
|
upReplaceRules(name, origin) |
|
|
|
kotlin.runCatching { |
|
|
|
kotlin.runCatching { |
|
|
|
for (item in replaceRules) { |
|
|
|
replaceRules.forEach { item -> |
|
|
|
item.pattern.let { |
|
|
|
item.pattern.let { |
|
|
|
if (it.isNotEmpty()) { |
|
|
|
if (it.isNotEmpty()) { |
|
|
|
c = if (item.isRegex) { |
|
|
|
c = if (item.isRegex) { |
|
|
|