转盘解析规则
This commit is contained in:
parent
938b33d481
commit
7d6d0c11db
@ -68,7 +68,7 @@ router.get('/text', async (req, res, next) => {
|
||||
function parseText(text) {
|
||||
const result = []
|
||||
const textArr = text.split('\n')
|
||||
const textReg = /^(#+) (.*)::(.*)$/
|
||||
const textReg = /^(#+) (\|1\|)*(.*)::(.*)$/
|
||||
let lastLevel = 0
|
||||
let lastIdx = 0
|
||||
const posArr = [result]
|
||||
|
Loading…
x
Reference in New Issue
Block a user