summaryrefslogtreecommitdiff
path: root/pygments/lexers/erlang.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygments/lexers/erlang.py')
-rw-r--r--pygments/lexers/erlang.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/pygments/lexers/erlang.py b/pygments/lexers/erlang.py
index d5aa0911..c14cbe56 100644
--- a/pygments/lexers/erlang.py
+++ b/pygments/lexers/erlang.py
@@ -11,15 +11,13 @@
import re
from pygments.lexer import Lexer, RegexLexer, bygroups, words, do_insertions, \
- include, default
+ include, default, line_re
from pygments.token import Comment, Operator, Keyword, Name, String, \
Number, Punctuation, Generic, Whitespace
__all__ = ['ErlangLexer', 'ErlangShellLexer', 'ElixirConsoleLexer',
'ElixirLexer']
-line_re = re.compile('.*?\n')
-
class ErlangLexer(RegexLexer):
"""