fix(vant-markdown-vetur): fix Windows system build vetur problem (#7277) (#7287)

Co-authored-by: wb.jiangyuning <wb.jiangyuning@mesg.corp.netease.com>
This commit is contained in:
yuningjiang123 2020-09-30 20:10:34 -05:00 committed by GitHub
parent 950dd10372
commit 15c158761f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
/* eslint-disable no-cond-assign */
const TITLE_REG = /^(#+)\s+([^\n]*)/;
const TABLE_REG = /^\|.+\n\|\s*-+/;
const TABLE_REG = /^\|.+\r?\n\|\s*-+/;
const TD_REG = /\s*`[^`]+`\s*|([^|`]+)/g;
const TABLE_SPLIT_LINE_REG = /^\|\s*-/;