if (! this.sh_languages) {
this.sh_languages = {};
}
sh_languages['less'] = [
[
[
/(?:\.)[A-Za-z0-9_\-]+/g,
'sh_selector',
-1
],
[
/\/\//g,
'sh_comment',
1
],
[
/#/g,
'sh_variable',
1
],
[
/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,
'sh_number',
-1
],
[
/"/g,
'sh_string',
2
],
[
/'/g,
'sh_string',
3
],
[
/\b(?:body|br|hr|img|abbr|a|b|strong|i|em|u|q|small|sup|sub|p|table|thead|tfoot|caption|colgroup|center|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|code|select|form|fieldset|legend|button|input|textarea|map|area|dfn|blockquote|address|math|embed|h1|h2|h3|h4|h5|h6|hgroup|section|header|footer|article|aside|nav|main|figure)\b/g,
'sh_keyword',
-1
],
[
/\/\/\//g,
'sh_comment',
4
],
[
/\/\//g,
'sh_comment',
1
],
[
/\/\*\*/g,
'sh_comment',
9
],
[
/\/\*/g,
'sh_comment',
10
],
[
/(?:@)[A-Za-z0-9_]+/g,
'sh_preproc',
-1
],
[
/&/g,
'sh_preproc',
-1
],
[
/>/g,
'sh_preproc',
-1
],
[
/\{|\}/g,
'sh_cbracket',
-1
],
[
/(?:[A-Za-z]|_)[A-Za-z0-9_]*(?=[ \t]*\()/g,
'sh_function',
-1
],
[
/em|px|rem|pt/g,
'sh_preproc',
-1
],
],
[
[
/$/g,
null,
-2
]
],
[
[
/\\(?:\\|")/g,
null,
-1
],
[
/"/g,
'sh_string',
-2
]
],
[
[
/\\(?:\\|')/g,
null,
-1
],
[
/'/g,
'sh_string',
-2
]
]
];