UNPKG

prism-code-editor

Version:

Lightweight, extensible code editor component for the web using Prism

38 lines (37 loc) 860 B
import { a as languages } from "../../core-8vQkh0Rd.js"; //#region src/prism/languages/ini.js languages.ini = { "comment": { pattern: /(^[ \f \v]*)[#;].*/m, lookbehind: true }, "section": { pattern: /(^[ \f \v]*)\[[^\n\]]*\]?/m, lookbehind: true, inside: { "section-name": { pattern: /(^\[[ \f \v]*)[^ \f \v\]]+(?:[ \f \v]+[^ \f \v\]]+)*/, lookbehind: true, alias: "selector" }, "punctuation": /[[\]]/ } }, "key": { pattern: /(^[ \f \v]*)[^ \f\n \v=]+(?:[ \f \v]+[^ \f\n \v=]+)*(?=[ \f \v]*=)/m, lookbehind: true, alias: "attr-name" }, "value": { pattern: /(=[ \f \v]*)[^ \f\n \v]+(?:[ \f \v]+[^ \f\n \v]+)*/, lookbehind: true, alias: "attr-value", inside: { "inner-value": { pattern: /^(["']).+(?=\1$)/, lookbehind: true } } }, "punctuation": /=/ }; //#endregion //# sourceMappingURL=ini.js.map