mirror of
https://github.com/sjsdfg/effective-java-3rd-chinese.git
synced 2025-01-21 01:30:27 +08:00
9 lines
304 B
JavaScript
9 lines
304 B
JavaScript
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': /[=:]/
|
|
}; |