Commits

Mike Nolta  committed ceddaff Draft

JuliaLexer: add oct literals

  • Participants
  • Parent commits ada156b

Comments (0)

Files changed (1)

File pygments/lexers/math.py

             (r'(\d+\.\d*|\d*\.\d+)([eE][+-]?[0-9]+)?', Number.Float),
             (r'\d+[eE][+-]?[0-9]+', Number.Float),
             (r'0b[01]+', Number.Binary),
+            (r'0o[0-7]+', Number.Oct),
             (r'0x[a-fA-F0-9]+', Number.Hex),
             (r'\d+', Number.Integer)
         ],