diff options
author | Georg Brandl <georg@python.org> | 2010-03-01 18:43:05 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-03-01 18:43:05 +0100 |
commit | ce802b6aea5f21efa06c61dacb54be7a6d79e966 (patch) | |
tree | bc0a6d8decebd270def7de51984f9ffaead1058f | |
parent | 3ea85f2033e3e6f1a719bd8bba420ca457f9feb0 (diff) | |
download | pygments-ce802b6aea5f21efa06c61dacb54be7a6d79e966.tar.gz |
Clojure: Recognize \# correctly.
-rw-r--r-- | CHANGES | 2 | ||||
-rw-r--r-- | pygments/lexers/agile.py | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -36,7 +36,7 @@ Version 1.3 - Add small enhancements to the C lexer (#467) and Bash lexer (#469). - Small fixes for the Tcl, Debian control file, Nginx config, - Smalltalk, Objective-C lexers. + Smalltalk, Objective-C, Clojure lexers. - Gherkin lexer: Fixed single apostrophe bug and added new i18n keywords. diff --git a/pygments/lexers/agile.py b/pygments/lexers/agile.py index c9b57583..ea605404 100644 --- a/pygments/lexers/agile.py +++ b/pygments/lexers/agile.py @@ -1438,7 +1438,7 @@ class ClojureLexer(RegexLexer): # strings, symbols and characters (r'"(\\\\|\\"|[^"])*"', String), (r"'" + valid_name, String.Symbol), - (r"\\([()/'\".'_!§$%& ?;=+-]{1}|[a-zA-Z0-9]+)", String.Char), + (r"\\([()/'\".'_!§$%& ?;=#+-]{1}|[a-zA-Z0-9]+)", String.Char), # constants (r'(#t|#f)', Name.Constant), |