summaryrefslogtreecommitdiff
path: root/pygments
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2015-01-21 07:43:26 +0100
committerGeorg Brandl <georg@python.org>2015-01-21 07:43:26 +0100
commitbafb45a9a47e6c40b550c77402e1dd66f93129ef (patch)
treedc307ddf6cae0e2aed6c2b2f29f471fb72f94d70 /pygments
parent7b9fa24091fe62a1be03c5c7889ce1ba6248c6a2 (diff)
downloadpygments-bafb45a9a47e6c40b550c77402e1dd66f93129ef.tar.gz
Fix highlighting of certain IRC logs formats (closes #1076).
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 189d334a..60251940 100644
--- a/pygments/lexers/textfmts.py
+++ b/pygments/lexers/textfmts.py
@@ -39,7 +39,7 @@ class IrcLogsLexer(RegexLexer):
(?:\d{1,4})
[T ])? # Date/time separator: T or space
(?: \d?\d [:.])* # Time as :/.-separated groups of 1 or 2 digits
- (?: \d?\d [:.])
+ (?: \d?\d)
)
(?: \]|\))?\s+ # Closing bracket or paren for the timestamp
|