Urara-Blog/node_modules/.pnpm-store/v3/files/c1/31defe3d5b48fb2e13918e3f3353c64b7fe6d8d6774af67071b608c0d04e17b1b2f5f72cccb4f448c56836769e10eade44b2dff0a717ddca8aecc5d1cc3832
2022-08-14 01:14:53 +08:00

13 lines
356 B
Text

Prism.languages.properties = {
'comment': /^[ \t]*[#!].*$/m,
'value': {
pattern: /(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,
lookbehind: true,
alias: 'attr-value'
},
'key': {
pattern: /^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,
alias: 'attr-name'
},
'punctuation': /[=:]/
};