Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added CSV Schema language #1039

Merged
merged 13 commits into from
Sep 17, 2019
Prev Previous commit
Next Next commit
Remove unnecessary newlines from pattern
  • Loading branch information
pyrmont committed Sep 2, 2019
commit b7d2abfaf53fe5c43223e320f87ab7b80b465e68
4 changes: 2 additions & 2 deletions lib/rouge/lexers/csvs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ def self.builtins

state :root do
rule %r/\s+/m, Text
rule %r(//.*?\n), Comment::Single
rule %r(#.*?\n), Comment::Single
rule %r(//.*), Comment::Single
rule %r(#.*), Comment::Single
rule %r(/(\\\n)?[*].*?[*](\\\n)?/)m, Comment::Multiline
pyrmont marked this conversation as resolved.
Show resolved Hide resolved
rule %r(/[+]), Comment::Multiline, :nested_comment

Expand Down