diff options
Diffstat (limited to 'pygments/lexers/elm.py')
-rw-r--r-- | pygments/lexers/elm.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/lexers/elm.py b/pygments/lexers/elm.py index cd1fb98e..22a10bd9 100644 --- a/pygments/lexers/elm.py +++ b/pygments/lexers/elm.py @@ -5,7 +5,7 @@ Lexer for the Elm programming language. - :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -27,7 +27,7 @@ class ElmLexer(RegexLexer): filenames = ['*.elm'] mimetypes = ['text/x-elm'] - validName = r'[a-z_][a-zA-Z_\']*' + validName = r'[a-z_][a-zA-Z0-9_\']*' specialName = r'^main ' |