lib/rouge/lexers/literate_coffeescript.rb in rouge-3.4.1 vs lib/rouge/lexers/literate_coffeescript.rb in rouge-3.5.0
- old
+ new
@@ -19,14 +19,14 @@
end
start { markdown.reset!; coffee.reset! }
state :root do
- rule /^( .*?\n)+/m do
+ rule %r/^( .*?\n)+/m do
delegate coffee
end
- rule /^([ ]{0,3}(\S.*?|)\n)*/m do
+ rule %r/^([ ]{0,3}(\S.*?|)\n)*/m do
delegate markdown
end
end
end
end