From 20603acef69702fbd997c40883350352de5ef78d Mon Sep 17 00:00:00 2001 From: fisher Date: Wed, 14 Oct 2020 18:10:28 +0800 Subject: [PATCH] numeric type : dot is available --- app/src/main/assets/txtTocRule.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/assets/txtTocRule.json b/app/src/main/assets/txtTocRule.json index 4469235a2..58e9e8644 100644 --- a/app/src/main/assets/txtTocRule.json +++ b/app/src/main/assets/txtTocRule.json @@ -31,7 +31,7 @@ "id": -5, "enable": false, "name": "数字(纯数字标题)", - "rule": "(?<=[ \\s])\\d+[  \\t]{0,4}$", + "rule": "(?<=[ \\s])\\d+\\.?[  \\t]{0,4}$", "serialNumber": 4 }, {