diff options
author | Georg Brandl <georg@python.org> | 2019-12-08 21:33:38 +0100 |
---|---|---|
committer | Georg Brandl <g.brandl@fz-juelich.de> | 2019-12-09 12:32:53 +0100 |
commit | 720e4928f40d83c4c1881ac3c5c6c888caa04bc5 (patch) | |
tree | 0aac0ce5f71fdabe4e6cb89cf03533684a154857 | |
parent | 4b2e99fb693d66eccb881fc57d9a40139a7572fa (diff) | |
download | pygments-git-720e4928f40d83c4c1881ac3c5c6c888caa04bc5.tar.gz |
make regexes consistent
-rw-r--r-- | pygments/lexers/textfmts.py | 2 |
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'), |