We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a03c30c commit 7706036Copy full SHA for 7706036
lib/rouge/lexers/docker.rb
@@ -61,7 +61,7 @@ class Docker < RegexLexer
61
rule %r/\n/, Text, :pop!
62
rule %r/^\s*#.*\n/, Comment
63
rule %r/\s*\\./m, Str::Escape
64
- rule %r/(\s*(?:\S+|"[^"]+"))(=)/ do
+ rule %r/(\s*(?:\S+|"[^"]+"|'[^']+'))(=)/ do
65
groups Name::Property, Punctuation
66
push :value
67
end
0 commit comments