main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
356 bytes
|
Rev | Line | |
---|
[d24f17c] | 1 | Prism.languages.properties = {
|
---|
| 2 | 'comment': /^[ \t]*[#!].*$/m,
|
---|
| 3 | 'value': {
|
---|
| 4 | pattern: /(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,
|
---|
| 5 | lookbehind: true,
|
---|
| 6 | alias: 'attr-value'
|
---|
| 7 | },
|
---|
| 8 | 'key': {
|
---|
| 9 | pattern: /^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,
|
---|
| 10 | alias: 'attr-name'
|
---|
| 11 | },
|
---|
| 12 | 'punctuation': /[=:]/
|
---|
| 13 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.