Commit 76ea2385 authored by Niels Möller's avatar Niels Möller
Browse files

Added character classes base64_space, token and token_start.

Rev: src/sexp_chars.in:1.3
parent 2258a7b8
...@@ -6,16 +6,20 @@ ...@@ -6,16 +6,20 @@
((lower . "abcdefghijklmnopqrstuvwxyz") ((lower . "abcdefghijklmnopqrstuvwxyz")
(upper . "ABCDEFGHIJKLMNOPQRSTUVWXYZ") (upper . "ABCDEFGHIJKLMNOPQRSTUVWXYZ")
(alpha . (lower upper)) (alpha . (lower upper))
;; SPC, TAB, LF, CR
(space . (#x20 #x9 #xa #xd))
(digit . "0123456789") (digit . "0123456789")
(octal . "01234567")
(hex . (digit "abcdefABCDEF")) (hex . (digit "abcdefABCDEF"))
;; base 64 digits, including the '=' pad character ;; base 64 digits, including the '=' pad character
(base64 . (alpha digit "+/=")) (base64 . (alpha digit "+/="))
(base64_space . (space "="))
(control . ( (0 . #x1f) (#x80 . #x9f) #x7f)) (control . ( (0 . #x1f) (#x80 . #x9f) #x7f))
;; SPC, TAB, LF, CR
(space . (#x20 #x9 #xa #xd))
;; Characters that can (and must!) be escaped in quoted strings: ;; Characters that can (and must!) be escaped in quoted strings:
;; \b \t \n \v \f \r \" \\ ;; \b \t \n \v \f \r \" \\
(escapable . (#x8 #x9 #xa #xb #xc #xd #x22 #x5c)) (escapable . (#x8 #x9 #xa #xb #xc #xd #x22 #x5c))
(punctuation . "-./_:*+=") (punctuation . "-./_:*+=")
(token_start . (alpha punctuation))
(token . (token_start digit))
;; Non-ascii characters defined by most iso-8859-1 character sets ;; Non-ascii characters defined by most iso-8859-1 character sets
(international . (#xa0 . #xff))) (international . (#xa0 . #xff)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment