Skip to content

Commit

Permalink
Less: Remove useless part in property regexp
Browse files Browse the repository at this point in the history
  • Loading branch information
Golmote committed Aug 26, 2015
1 parent 132b41a commit 80d8260
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/prism-less.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Prism.languages.less = Prism.languages.extend('css', {
}
},

'property': /(\b|\B)(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/i,
'property': /(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/i,
'punctuation': /[{}();:,]/,
'operator': /[+\-*\/]/
});
Expand Down
2 changes: 1 addition & 1 deletion components/prism-less.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 80d8260

Please sign in to comment.