We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4f82e6 commit b1d28b1Copy full SHA for b1d28b1
lib/coderay/scanners/coffee_script.rb
@@ -72,7 +72,7 @@ def scan_tokens encoder, options
72
value_expected = true if !value_expected && match.index(?\n)
73
encoder.text_token match, :space
74
75
- elsif match = scan(%r! // [^\n\\]* (?: \\. [^\n\\]* )* | /\* (?: .*? \*/ | .* ) !mx)
+ elsif match = scan(%r! \# [^\n\\]* (?: \#. [^\n\\]* )* !mx)
76
value_expected = true
77
encoder.text_token match, :comment
78
0 commit comments