blob: e8b3a65ff35a620661a60d676413873bf93796ea (
plain)
1
2
3
4
5
6
7
8
9
10
|
Prism.languages.properties = {
comment: /^[ \t]*[#!].*$/m,
'attr-value': {
pattern:
/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,
lookbehind: true,
},
'attr-name': /^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,
punctuation: /[=:]/,
};
|