Merge pull request #92 from gr2m/gh-pages Probem with JS code that starts with `// comment`
diff --git a/components/prism-clike.js b/components/prism-clike.js
index 3c0b24a..3d53698 100644
--- a/components/prism-clike.js
+++ b/components/prism-clike.js
@@ -1,6 +1,6 @@
Prism.languages.clike = {
'comment': {
- pattern: /(^|[^\\])(\/\*[\w\W]*?\*\/|[^:]\/\/.*?(\r?\n|$))/g,
+ pattern: /(^|[^\\])(\/\*[\w\W]*?\*\/|[^:]?\/\/.*?(\r?\n|$))/g,
lookbehind: true
},
'string': /("|')(\\?.)*?\1/g,