diff options
author | Sanders Kleinfeld <sanders@oreilly.com> | 2014-03-23 22:12:01 +0000 |
---|---|---|
committer | Sanders Kleinfeld <sanders@oreilly.com> | 2014-03-23 22:12:01 +0000 |
commit | cc74d1df4653745ea4001d32831f087dc8dff57b (patch) | |
tree | 9cb4db9dc3858d5d33c4dfb7de843b9ed8e0b3e3 /pygments/lexers/jvm.py | |
parent | 6a8fa02138597bd93a6b7cdbd7a175743ea9f7c4 (diff) | |
download | pygments-cc74d1df4653745ea4001d32831f087dc8dff57b.tar.gz |
jvm.py edited online with Bitbucket
Diffstat (limited to 'pygments/lexers/jvm.py')
-rw-r--r-- | pygments/lexers/jvm.py | 2 |
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': [ |