summaryrefslogtreecommitdiff
path: root/pygments/lexers/text.py
diff options
context:
space:
mode:
authorTim Hatch <tim@timhatch.com>2010-12-21 22:34:20 -0800
committerTim Hatch <tim@timhatch.com>2010-12-21 22:34:20 -0800
commitb86e4172cae193be7822b844533d39a4ee4e4968 (patch)
tree1fcb58bb4686e3f7fa1e371ef6cd8017596bb9be /pygments/lexers/text.py
parent92e3cf387d93ea5e1d2e0313d3250a4a993a5b5e (diff)
downloadpygments-b86e4172cae193be7822b844533d39a4ee4e4968.tar.gz
Allow rfc822-style continuation in ini files (#494)
Diffstat (limited to 'pygments/lexers/text.py')
-rw-r--r--pygments/lexers/text.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/text.py b/pygments/lexers/text.py
index 074794c8..5a63e503 100644
--- a/pygments/lexers/text.py
+++ b/pygments/lexers/text.py
@@ -42,7 +42,7 @@ class IniLexer(RegexLexer):
(r'\s+', Text),
(r'[;#].*?$', Comment),
(r'\[.*?\]$', Keyword),
- (r'(.*?)([ \t]*)(=)([ \t]*)(.*?)$',
+ (r'(.*?)([ \t]*)(=)([ \t]*)(.*(?:\n[ \t].+)*)',
bygroups(Name.Attribute, Text, Operator, Text, String))
]
}