mirror of
https://github.com/gedoor/legado.git
synced 2024-09-01 09:34:25 +08:00
Merge pull request #3096 from 52fisher/patch-1
数字标题支持 12章 xxx 和 二十四章 xxx 格式
This commit is contained in:
commit
092fd76287
@ -67,16 +67,16 @@
|
|||||||
"id": -9,
|
"id": -9,
|
||||||
"enable": true,
|
"enable": true,
|
||||||
"name": "大写数字 分隔符 标题名称",
|
"name": "大写数字 分隔符 标题名称",
|
||||||
"rule": "^[ \\t]{0,4}(?:序章|楔子|正文(?!完|结)|终章|后记|尾声|番外|[零一二两三四五六七八九十百千万壹贰叁肆伍陆柒捌玖拾佰仟]{1,8})[ 、_—\\-].{1,30}$",
|
"rule": "^[ \\t]{0,4}(?:序章|楔子|正文(?!完|结)|终章|后记|尾声|番外|[零一二两三四五六七八九十百千万壹贰叁肆伍陆柒捌玖拾佰仟]{1,8}章?)[ 、_—\\-].{1,30}$",
|
||||||
"example": "一、只有前面的数字有差别",
|
"example": "一、只有前面的数字有差别\n二十四章 我瞎编的标题",
|
||||||
"serialNumber": 8
|
"serialNumber": 8
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": -10,
|
"id": -10,
|
||||||
"enable": false,
|
"enable": false,
|
||||||
"name": "数字混合 分隔符 标题名称",
|
"name": "数字混合 分隔符 标题名称",
|
||||||
"rule": "^[ \\t]{0,4}(?:序章|楔子|正文(?!完|结)|终章|后记|尾声|番外|[零一二两三四五六七八九十百千万壹贰叁肆伍陆柒捌玖拾佰仟]{1,8}[ 、_—\\-]|\\d{1,5}[::,., 、_—\\-]).{0,30}$",
|
"rule": "^[ \\t]{0,4}(?:序章|楔子|正文(?!完|结)|终章|后记|尾声|番外|[零一二两三四五六七八九十百千万壹贰叁肆伍陆柒捌玖拾佰仟]{1,8}章?[ 、_—\\-]|\\d{1,5}章?[::,., 、_—\\-]).{0,30}$",
|
||||||
"example": "1、人参公鸡\n二百二十、boy next door",
|
"example": "1、人参公鸡\n二百二十章 boy next door",
|
||||||
"serialNumber": 9
|
"serialNumber": 9
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user