Skip to content

Commit bf9fac5

Browse files
committed
Remove combinatorial explosion in Less.
Fixes highlightjs#666.
1 parent 8a72a8d commit bf9fac5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/languages/less.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Category: css
66

77
function(hljs) {
88
var IDENT_RE = '[\\w-]+'; // yes, Less identifiers may begin with a digit
9-
var INTERP_IDENT_RE = '(' + IDENT_RE + '|@{' + IDENT_RE + '})+';
9+
var INTERP_IDENT_RE = '(' + IDENT_RE + '|@{' + IDENT_RE + '})';
1010

1111
/* Generic Modes */
1212

0 commit comments

Comments
 (0)