Georg Brandl  committed 0e42748

Clojure: Recognize \# correctly.

  • Participants
  • Parent commits c2b66bf
  • Branches default

Comments (0)

Files changed (2)

 - 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.

File pygments/lexers/

             # 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),