summaryrefslogtreecommitdiff
path: root/pygments/lexers/erlang.py
diff options
context:
space:
mode:
authorTim Hatch <tim@timhatch.com>2014-10-04 11:06:28 -0700
committerTim Hatch <tim@timhatch.com>2014-10-04 11:06:28 -0700
commit900ce2be770ce98e7a93d5e687ae6a0184b2015c (patch)
tree79326f0131a31ddb903294f2e21973a7de1c6a6a /pygments/lexers/erlang.py
parent9bfaf9454e6301a6b5da0c30f4ca029c1f227a97 (diff)
downloadpygments-900ce2be770ce98e7a93d5e687ae6a0184b2015c.tar.gz
Fix minor problems noted by regexlint and 'make check'
Diffstat (limited to 'pygments/lexers/erlang.py')
-rw-r--r--pygments/lexers/erlang.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/erlang.py b/pygments/lexers/erlang.py
index 622e5bf6..b8ed7ff2 100644
--- a/pygments/lexers/erlang.py
+++ b/pygments/lexers/erlang.py
@@ -94,7 +94,7 @@ class ErlangLexer(RegexLexer):
(r'%.*\n', Comment),
(words(keywords, suffix=r'\b'), Keyword),
(words(builtins, suffix=r'\b'), Name.Builtin),
- (words(word_operators, suffix='\b'), Operator.Word),
+ (words(word_operators, suffix=r'\b'), Operator.Word),
(r'^-', Punctuation, 'directive'),
(operators, Operator),
(r'"', String, 'string'),