From ec33c45c610075b86cf065f79eb977820a2dae1f Mon Sep 17 00:00:00 2001 From: yulixing Date: Mon, 4 Nov 2019 19:21:20 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=AC=E7=9B=98=E8=AF=AD=E5=8F=A5=E8=A7=A3?= =?UTF-8?q?=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controllers/open/zp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/open/zp.js b/src/controllers/open/zp.js index d31c0ba..aed6314 100644 --- a/src/controllers/open/zp.js +++ b/src/controllers/open/zp.js @@ -77,7 +77,7 @@ router.get('/text', async (req, res, next) => { function parseText(text) { const result = [] const textArr = text.split('\n') - const textReg = /^(#+) (\|.\|)* *(.*)::(.*)$/ + const textReg = /^(#+) (\|.*\|)* *(.*)::(.*)$/ let lastLevel = 0 let lastIdx = 0 const posArr = [result]