diff options
author | Georg Brandl <georg@python.org> | 2017-01-29 08:32:20 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2017-01-29 08:32:20 +0100 |
commit | 76bf6c18c554bda6b77199ef3fb0570a9017453f (patch) | |
tree | 6c8e947f9fa7014c5726c46825f60a5f92af5996 /pygments | |
parent | 43fcdda784228cf8c60287c4c64a575738653d94 (diff) | |
download | pygments-76bf6c18c554bda6b77199ef3fb0570a9017453f.tar.gz |
Clojure: extend valid_name to contain "|".
Diffstat (limited to 'pygments')
-rw-r--r-- | pygments/lexers/jvm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/jvm.py b/pygments/lexers/jvm.py index f4392839..ccff41c1 100644 --- a/pygments/lexers/jvm.py +++ b/pygments/lexers/jvm.py @@ -801,7 +801,7 @@ class ClojureLexer(RegexLexer): # TODO / should divide keywords/symbols into namespace/rest # but that's hard, so just pretend / is part of the name - valid_name = r'(?!#)[\w!$%*+<=>?/.#-]+' + valid_name = r'(?!#)[\w!$%*+<=>?/.#|-]+' tokens = { 'root': [ |