summaryrefslogtreecommitdiff
path: root/pygments/lexers/pypylog.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-06-18 10:39:41 +0200
committerGeorg Brandl <georg@python.org>2011-06-18 10:39:41 +0200
commit8e36360b21375872946eea2f09e10ec334eff262 (patch)
tree18d54aad01ac52d0efa00152a54f37ecdabaee0d /pygments/lexers/pypylog.py
parent1b7b939be10fb938c340e78de59936e1d2aa69de (diff)
downloadpygments-8e36360b21375872946eea2f09e10ec334eff262.tar.gz
Fix oversight in PyPy log lexer.
Diffstat (limited to 'pygments/lexers/pypylog.py')
-rw-r--r--pygments/lexers/pypylog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/pypylog.py b/pygments/lexers/pypylog.py
index 186a532f..f2363c5d 100644
--- a/pygments/lexers/pypylog.py
+++ b/pygments/lexers/pypylog.py
@@ -29,7 +29,7 @@ class PyPyLogLexer(RegexLexer):
(r"[ifp]\d+", Name),
(r"ptr\d+", Name),
- (r"(\()([\w_]+(:\.[\w_]+)?)(\))", bygroups(Punctuation, Name.Builtin, Punctuation)),
+ (r"(\()([\w_]+(?:\.[\w_]+)?)(\))", bygroups(Punctuation, Name.Builtin, Punctuation)),
(r"[\[\]=,()]", Punctuation),
(r"(\d+\.\d+|inf|-inf)", Number.Float),
(r"-?\d+", Number.Integer),