格式化目录是不是有bug?
#3114
-
"第"+String(index)+"章 "+String(title).replace(/^\d+.?\s*|[【]?第\s?\d+\s?章[】]?\s*|[第]?[〇零一二三四五六七八九十百千万两□]+章\s*/g,"") |
Beta Was this translation helpful? Give feedback.
Answered by
821938089
May 22, 2023
Replies: 1 comment 3 replies
-
规则和书名发一下 试试先把index转成String再+在一起 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
你把正文的章节标题规则里面的正则替换规则复制到目录的章节标题规则那里,然后把正文的标题规则删掉