Commits

Georg Brandl  committed c3fc2d4 Merge
  • Participants
  • Parent commits 2a8aabf, d184441

Comments (0)

Files changed (1)

File pygments/lexers/functional.py

         'funclist': [
             (r'\s+', Text),
             (r'[A-Z][a-zA-Z0-9_]*', Keyword.Type),
-            (r'[_a-z][\w\']+', Name.Function),
+            (r'(_[\w\']+|[a-z][\w\']*)', Name.Function),
             (r'--.*$', Comment.Single),
             (r'{-', Comment.Multiline, 'comment'),
             (r',', Punctuation),