1. Rob Hoelz
  2. pygments-main

Commits

Sanders Kleinfeld  committed 4da5609

jvm.py edited online with Bitbucket

  • Participants
  • Parent commits 6fb09cd
  • Branches default

Comments (0)

Files changed (1)

File pygments/lexers/jvm.py

View file
             (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': [