summaryrefslogtreecommitdiff
path: root/pygments/lexers/jvm.py
diff options
context:
space:
mode:
authorSanders Kleinfeld <sanders@oreilly.com>2014-03-23 22:12:01 +0000
committerSanders Kleinfeld <sanders@oreilly.com>2014-03-23 22:12:01 +0000
commitcc74d1df4653745ea4001d32831f087dc8dff57b (patch)
tree9cb4db9dc3858d5d33c4dfb7de843b9ed8e0b3e3 /pygments/lexers/jvm.py
parent6a8fa02138597bd93a6b7cdbd7a175743ea9f7c4 (diff)
downloadpygments-cc74d1df4653745ea4001d32831f087dc8dff57b.tar.gz
jvm.py edited online with Bitbucket
Diffstat (limited to 'pygments/lexers/jvm.py')
-rw-r--r--pygments/lexers/jvm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/jvm.py b/pygments/lexers/jvm.py
index 9a500ee8..30a7ddd7 100644
--- a/pygments/lexers/jvm.py
+++ b/pygments/lexers/jvm.py
@@ -66,7 +66,7 @@ class JavaLexer(RegexLexer):
(r'[~\^\*!%&\[\]\(\)\{\}<>\|+=:;,./?-]', Operator),
(r'[0-9][0-9]*\.[0-9]+([eE][0-9]+)?[fd]?', Number.Float),
(r'0x[0-9a-fA-F]+', Number.Hex),
- (r'[0-9]([0-9]|_(?=_*[0-9]))*L?', Number.Integer),
+ (r'[0-9]+(_+[0-9]+)*L?', Number.Integer),
(r'\n', Text)
],
'class': [