summaryrefslogtreecommitdiff
path: root/pygments
diff options
context:
space:
mode:
Diffstat (limited to 'pygments')
-rw-r--r--pygments/lexers/textfmts.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/textfmts.py b/pygments/lexers/textfmts.py
index 7135aa94..bfd053d5 100644
--- a/pygments/lexers/textfmts.py
+++ b/pygments/lexers/textfmts.py
@@ -422,7 +422,7 @@ class KernelLogLexer(RegexLexer):
],
'warn': [
include('base'),
- (r'.+', Generic.Strong, '#pop')
+ (r'.+\n', Generic.Strong, '#pop')
],
'error': [
include('base'),