Permalink
Browse files

Support empty single quoted strings

  • Loading branch information...
1 parent f7bbb03 commit ab7fa28408c02324073d1734d14bc2f68415c20c @rodjek committed Apr 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 puppet_lexer/__init__.py
@@ -25,7 +25,7 @@ class PuppetLexer(RegexLexer):
(r'\s*#.*\n', Comment.Singleline),
],
'strings': [
- (r"'.+'", String.Single),
+ (r"'.*'", String.Single),
(r'\w+', String.Symbol),
(r'"', String.Double, 'dblstring'),
],

0 comments on commit ab7fa28

Please sign in to comment.