summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pygments/lexers/parsers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/lexers/parsers.py b/pygments/lexers/parsers.py
index 70e07dc5..e6f963e7 100644
--- a/pygments/lexers/parsers.py
+++ b/pygments/lexers/parsers.py
@@ -744,12 +744,12 @@ class TreetopBaseLexer(RegexLexer):
'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),