summaryrefslogtreecommitdiff
path: root/lib/coderay/scanners/clojure.rb
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2010-10-15 22:53:25 +0000
committermurphy <murphy@rubychan.de>2010-10-15 22:53:25 +0000
commit2652f00e77cc93fc6083c137a18ba0718268ced8 (patch)
tree01362366c16e17348da9fb83fe5a5babde5c5968 /lib/coderay/scanners/clojure.rb
parent4a36a3f08860669eed726fbd3b0638717312e03b (diff)
downloadcoderay-2652f00e77cc93fc6083c137a18ba0718268ced8.tar.gz
Cleanup and fix Clojure scanner.
Diffstat (limited to 'lib/coderay/scanners/clojure.rb')
-rw-r--r--lib/coderay/scanners/clojure.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/coderay/scanners/clojure.rb b/lib/coderay/scanners/clojure.rb
index ead788a..a16abdc 100644
--- a/lib/coderay/scanners/clojure.rb
+++ b/lib/coderay/scanners/clojure.rb
@@ -86,8 +86,8 @@ module CodeRay
add(CORE_FORMS, :reserved).
add(PREDEFINED_CONSTANTS, :pre_constant)
- BASIC_IDENTIFYER = /[a-zA-Z$%*\/_+!?&<>\-=][a-zA-Z0-9ยง$&*+!\/_?<>\-\#]*/
- IDENTIFIER = /(?:[@']?(?:#{BASIC_IDENTIFYER}\.)*#{BASIC_IDENTIFYER}(?:\/#{BASIC_IDENTIFYER})?\.?)|\.\.?/
+ BASIC_IDENTIFIER = /[a-zA-Z$%*\/_+!?&<>\-=][a-zA-Z0-9$&*+!\/_?<>\-\#]*/
+ IDENTIFIER = /(?:[@']?(?:#{BASIC_IDENTIFIER}\.)*#{BASIC_IDENTIFIER}(?:\/#{BASIC_IDENTIFIER})?\.?)|\.\.?/
SYMBOL = /::?#{IDENTIFIER}/o
DIGIT = /\d/
DIGIT10 = DIGIT