Lines Matching refs:regex
77 { regex: r.multiLineCComments, css: 'comments' }, // multiline comments
78 { regex: r.singleLineCComments, css: 'comments' }, // singleline comments
79 { regex: r.doubleQuotedString, css: 'string' }, // double quoted strings
80 { regex: r.singleQuotedString, css: 'string' }, // single quoted strings
81 { regex: /\#[a-fA-F0-9]{3,6}/g, css: 'value' }, // html colors
82 { regex: /\b(-?\d+)(\.\d+)?(px|em|rem|pt|\:|\%|)\b/g, css: 'value' }, // sizes
83 { regex: /\$[\w-]+/g, css: 'variable' }, // variables
84 …{ regex: new RegExp(getKeywordsPrependedBy(statements, '!'), 'g'), css: 'color3' }, // statements
85 …{ regex: new RegExp(getKeywordsPrependedBy(preprocessor, '@'), 'g'), css: 'preprocessor' }, // pre…
86 { regex: new RegExp(getKeywordsCSS(keywords), 'gm'), css: 'keyword' }, // keywords
87 { regex: new RegExp(getValuesCSS(values), 'g'), css: 'value' }, // values
88 { regex: new RegExp(this.getKeywords(fonts), 'g'), css: 'color1' } // fonts