summaryrefslogtreecommitdiff
path: root/pygments/lexers/graph.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygments/lexers/graph.py')
-rw-r--r--pygments/lexers/graph.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/graph.py b/pygments/lexers/graph.py
index fccba5a4..6aa446c7 100644
--- a/pygments/lexers/graph.py
+++ b/pygments/lexers/graph.py
@@ -73,7 +73,7 @@ class CypherLexer(RegexLexer):
(r'\s+', Whitespace),
],
'barewords': [
- (r'[a-z][a-zA-Z0-9_]*', Name),
+ (r'[a-z]\w*', Name),
(r'\d+', Number),
],
}