Lines Matching refs:regex
61 { regex: r.multiLineCComments, css: 'comments' }, // multiline comments
62 { regex: r.singleLineCComments, css: 'comments' }, // singleline comments
63 { regex: r.doubleQuotedString, css: 'string' }, // double quoted strings
64 { regex: r.singleQuotedString, css: 'string' }, // single quoted strings
65 { regex: /\#[a-fA-F0-9]{3,6}/g, css: 'value' }, // html colors
66 { regex: /\b(-?\d+)(\.\d+)?(px|em|rem|pt|\:|\%|)\b/g, css: 'value' }, // sizes
67 { regex: /\$[\w-]+/g, css: 'variable' }, // variables
68 …{ regex: new RegExp(getKeywordsPrependedBy(statements, '!'), 'g'), css: 'color3' }, // statements
69 …{ regex: new RegExp(getKeywordsPrependedBy(preprocessor, '@'), 'g'), css: 'preprocessor' }, // pre…
70 { regex: new RegExp(getKeywordsCSS(keywords), 'gm'), css: 'keyword' }, // keywords
71 { regex: new RegExp(getValuesCSS(values), 'g'), css: 'value' }, // values
72 { regex: new RegExp(this.getKeywords(fonts), 'g'), css: 'color1' } // fonts