Merge pull request #93 from gr2m/gh-pages prevent urls from being interpreted as comments
diff --git a/components/prism-clike.js b/components/prism-clike.js
index 3d53698..7fe04f3 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,