Permalink
Browse files

More characters that are valid for symbols: !, ?.

  • Loading branch information...
1 parent 1991eeb commit 1695f5119f5d09bd485e629d5efe53908230af57 @pupeno committed Sep 27, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 shBrushClojure.js
View
@@ -19,10 +19,10 @@
{ regex: new RegExp(";.*$", "gm"), css: "comments" },
{ regex: SyntaxHighlighter.regexLib.multiLineDoubleQuotedString, css: "string" },
- { regex: /'[a-z][A-Za-z0-9_\-]*/g, css: "constants" }, // symbols
- { regex: /:[a-z][A-Za-z0-9_\-]*/g, css: "color1" }, // keywords
- { regex: /\(([a-z][A-Za-z0-9_\-]*)/gm, func: process },
{ regex: /[\(\)\[\]`@~#]/g, css: "keyword" },
+ { regex: /'[a-z][A-Za-z0-9!?_\-]*/g, css: "constants" }, // symbols
+ { regex: /:[a-z][A-Za-z0-9!?_\-]*/g, css: "color1" }, // keywords
+ { regex: /\(([a-z][A-Za-z0-9!?_\-]*)/gm, func: process },
];
}

0 comments on commit 1695f51

Please sign in to comment.