UNPKG

tripledoc

Version:

Library to read, create and update documents on a Solid Pod

20 lines (19 loc) 402 B
Prism.languages.json = { 'property': { pattern: /"(?:\\.|[^\\"\r\n])*"(?=\s*:)/, greedy: true }, 'string': { pattern: /"(?:\\.|[^\\"\r\n])*"(?!\s*:)/, greedy: true }, 'comment': /\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/, 'number': /-?\d+\.?\d*(e[+-]?\d+)?/i, 'punctuation': /[{}[\],]/, 'operator': /:/, 'boolean': /\b(?:true|false)\b/, 'null': { pattern: /\bnull\b/, alias: 'keyword' } };