Commits

Georg Brandl  committed ab337b9

Match #python2 as shebang (#650).

  • Participants
  • Parent commits 894f810

Comments (0)

Files changed (1)

File pygments/lexers/agile.py

     }
 
     def analyse_text(text):
-        return shebang_matches(text, r'pythonw?(2\.\d)?')
+        return shebang_matches(text, r'pythonw?(2(\.\d)?)?')
 
 
 class Python3Lexer(RegexLexer):