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 | 3d9d97f17cb953ecc1dc44c74b88ea30136e15ad (patch) | |
tree | 27ab58c6d8c7bdebbf1eb28b48e1f2f4cbbd7043 /pygments/lexers/jvm.py | |
parent | a1469883d07d6fba0b9a242aadadc0a8eb83ccb3 (diff) | |
download | pygments-git-3d9d97f17cb953ecc1dc44c74b88ea30136e15ad.tar.gz |
Clojure: extend valid_name to contain "|".
Diffstat (limited to 'pygments/lexers/jvm.py')
-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': [ |