diff --git a/app/src/main/assets/defaultData/txtTocRule.json b/app/src/main/assets/defaultData/txtTocRule.json index 1a271faac37f..d051b9d75b68 100644 --- a/app/src/main/assets/defaultData/txtTocRule.json +++ b/app/src/main/assets/defaultData/txtTocRule.json @@ -163,7 +163,7 @@ "id": -21, "enable": true, "name": "书名 括号 序号", - "rule": "^.{1,20}[((][\\d〇零一二两三四五六七八九十百千万壹贰叁肆伍陆柒捌玖拾佰仟]{1,8}[))][  \t]{0,4}$", + "rule": "^[一-龥]{1,20}[  \t]{0,4}[((][\\d〇零一二两三四五六七八九十百千万壹贰叁肆伍陆柒捌玖拾佰仟]{1,8}[))][  \t]{0,4}$", "example": "标题后面数字有括号(12)", "serialNumber": 20 }, @@ -171,7 +171,7 @@ "id": -22, "enable": true, "name": "书名 序号", - "rule": "^.{1,20}[\\d〇零一二两三四五六七八九十百千万壹贰叁肆伍陆柒捌玖拾佰仟]{1,8}[  \t]{0,4}$", + "rule": "^[一-龥]{1,20}[  \t]{0,4}[\\d〇零一二两三四五六七八九十百千万壹贰叁肆伍陆柒捌玖拾佰仟]{1,8}[  \t]{0,4}$", "example": "标题后面数字没有括号124", "serialNumber": 21 },