UNPKG

vue-files-preview-inno

Version:

A tool for previewing files such as doc, excel, pdf, image, markdown, txt, audio, and video and so on.

65 lines (64 loc) 1.2 kB
var t, c; function R() { if (c) return t; c = 1; function e(o) { const n = o.regex, A = /^[a-zA-Z][a-zA-Z0-9-]*/, s = [ "ALPHA", "BIT", "CHAR", "CR", "CRLF", "CTL", "DIGIT", "DQUOTE", "HEXDIG", "HTAB", "LF", "LWSP", "OCTET", "SP", "VCHAR", "WSP" ], E = o.COMMENT(/;/, /$/), a = { scope: "symbol", match: /%b[0-1]+(-[0-1]+|(\.[0-1]+)+)?/ }, r = { scope: "symbol", match: /%d[0-9]+(-[0-9]+|(\.[0-9]+)+)?/ }, T = { scope: "symbol", match: /%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+)?/ }, I = { scope: "symbol", match: /%[si](?=".*")/ }, N = { scope: "attribute", match: n.concat(A, /(?=\s*=)/) }; return { name: "Augmented Backus-Naur Form", illegal: /[!@#$^&',?+~`|:]/, keywords: s, contains: [ { scope: "operator", match: /=\/?/ }, N, E, a, r, T, I, o.QUOTE_STRING_MODE, o.NUMBER_MODE ] }; } return t = e, t; } export { R as __require }; //# sourceMappingURL=abnf.mjs.map