/* * CodePress regular expressions for CSS syntax highlighting */ // CSS Language.syntax = [ { input : /(.*?){(.*?)}/g,output : '$1{$2}' }, // tags, ids, classes, values { input : /([\w-]*?):([^\/])/g,output : '$1:$2' }, // keys { input : /\((.*?)\)/g,output : '($1)' }, // parameters { input : /\/\*(.*?)\*\//g,output : '/*$1*/'} // comments ] Language.snippets = [] Language.complete = [ { input : '\'',output : '\'$0\'' }, { input : '"', output : '"$0"' }, { input : '(', output : '\($0\)' }, { input : '[', output : '\[$0\]' }, { input : '{', output : '{\n\t$0\n}' } ] Language.shortcuts = []