785b128f8b
git-svn-id: https://plugins.svn.wordpress.org/prismatic/trunk@1661551 b8457f37-d9ea-0310-8a92-e5e31aec5664
1 line
291 B
JavaScript
1 line
291 B
JavaScript
Prism.languages.json={property:/"(?:\\.|[^\\"])*"(?=\s*:)/gi,string:/"(?!:)(?:\\.|[^\\"])*"(?!:)/g,number:/\b-?(0x[\dA-Fa-f]+|\d*\.?\d+([Ee][+-]?\d+)?)\b/g,punctuation:/[{}[\]);,]/g,operator:/:/g,"boolean":/\b(true|false)\b/gi,"null":/\bnull\b/gi},Prism.languages.jsonp=Prism.languages.json; |