diff --git a/src/language/coffeescript.js b/src/language/coffeescript.js
index <HASH>..<HASH> 100644
--- a/src/language/coffeescript.js
+++ b/src/language/coffeescript.js
@@ -2,7 +2,7 @@
  * Coffeescript patterns
  *
  * @author Craig Campbell
- * @version 1.0
+ * @version 1.0.1
  */
 Rainbow.extend('coffeescript', [
     {
@@ -22,7 +22,7 @@ Rainbow.extend('coffeescript', [
         'matches': {
             2: {
                 'name': 'comment',
-                'pattern': /\#(.*?)\n/g
+                'pattern': /\#(.*?)(?=\n)/g
             }
         },
         'pattern': /(\/{3})([\s\S]*)\1/gm
Make sure coffeescript regex comments end at new line