1. Enrique Zamudio
  2. pygments-main

Commits

Enrique Zamudio  committed 1df5916

fix class names

  • Participants
  • Parent commits a2927b9
  • Branches default

Comments (0)

Files changed (1)

File pygments/lexers/jvm.py

View file
  • Ignore whitespace
             (r'\n', Text)
         ],
         'class': [
-            (r'[A-Za-z_][a-zA-Z0-9_]+', Name.Class, '#pop')
+            (r'[A-Za-z_][a-zA-Z0-9_]*', Name.Class, '#pop')
         ],
         'import': [
             (r'[a-z][a-zA-Z0-9_.]*',