Commits

Tim Hatch  committed 3e7b004

Make sure that TreetopLexer will terminate.

  • Participants
  • Parent commits eb783bc

Comments (0)

Files changed (1)

File pygments/lexers/parsers.py

         'inline_module': [
             (r'{', Other, 'ruby'),
             (r'}', Punctuation, '#pop'),
-            (r'[^{}]*', Other),
+            (r'[^{}]+', Other),
         ],
         'ruby': [
             (r'{', Other, '#push'),
             (r'}', Other, '#pop'),
-            (r'[^{}]*', Other),
+            (r'[^{}]+', Other),
         ],
         'space': [
             (r'[ \t\n\r]+', Whitespace),