Merge pull request #566 from andreaslarsen/patch-3 Fixes same empty // comment error as in clike
diff --git a/components/prism-less.js b/components/prism-less.js
index 3328db8..0ed468c 100644
--- a/components/prism-less.js
+++ b/components/prism-less.js
@@ -10,7 +10,7 @@ Prism.languages.less = Prism.languages.extend('css', {
'comment': [
/\/\*[\w\W]*?\*\//,
{
- pattern: /(^|[^\\])\/\/.+/,
+ pattern: /(^|[^\\])\/\/.*/,
lookbehind: true
}
],
@@ -57,4 +57,4 @@ Prism.languages.insertBefore('less', 'property', {
lookbehind: true,
alias: 'function'
}
-});
\ No newline at end of file
+});