1. Georg Brandl
  2. pygments-main

Commits

Georg Brandl  committed a4daca2

Lower default analyse_text result of Octave lexer.

  • Participants
  • Parent commits 027a3b0
  • Branches default

Comments (0)

Files changed (1)

File pygments/lexers/math.py

View file
  • Ignore whitespace
 
     def analyse_text(text):
         if re.match('^\s*[%#]', text, re.M): #Comment
-            return 0.9
-        return 0.1
+            return 0.1
 
 
 class ScilabLexer(RegexLexer):