Next: , Previous: , Up: char-sets sets   [Index]


26.6.4 Sets of ASCII characters

The following character sets are defined and exported by the (vicare containers char-sets) library.

Character Set: char-set:ascii

All the characters in the ASCII set. It is the set of all the characters whose numeric code is between 0 and 127, both included.

Character Set: char-set:ascii/lower-case

All the lower–case letters between #\a and #\z, included.

Character Set: char-set:ascii/upper-case

All the upper–case letters between #\A and #\Z, included.

Character Set: char-set:ascii/letter

All the letters: It is the union of char-set:ascii/lower-case and char-set:ascii/upper-case.

Character Set: char-set:ascii/digit
Character Set: char-set:ascii/dec-digit

All the decimal digits:

#\0 #\1 #\2 #\3 #\4 #\5 #\6 #\7 #\8 #\9
Character Set: char-set:ascii/oct-digit

All the octal digits:

#\0 #\1 #\2 #\3 #\4 #\5 #\6 #\7
Character Set: char-set:ascii/hex-digit

All the hexadecimal digits:

#\0 #\1 #\2 #\3 #\4 #\5 #\6 #\7 #\8 #\9
#\a #\b #\c #\d #\e #\f
#\A #\B #\C #\D #\E #\F
Character Set: char-set:ascii/letter+digit

All the letters and decimal digits: It is the union of char-set:ascii/letter and char-set:ascii/dec-digit.

Character Set: char-set:ascii/punctuation

All the punctuation characters whose numeric code is in the range [0, 127]:

#\!  #\"  #\#  #\%  #\&  #\'  #\(  #\)  #\*  #\,  #\-  #\.

#\/  #\:  #\;  #\?  #\@  #\[  #\\  #\]  #\_  #\{  #\}
Character Set: char-set:ascii/symbol

All the symbol characters whose numeric code is in the range [0, 127]:

#\$  #\+  #\<  #\=  #\>  #\^  #\`  #\|  #\~
Character Set: char-set:ascii/whitespace

All the characters representing white space:

#x0009  #\tab       ; HORIZONTAL TABULATION
#x000A  #\linefeed  ; LINE FEED
#x000B  #\vtab      ; VERTICAL TABULATION
#x000C  #\page      ; FORM FEED
#x000D  #\return    ; CARRIAGE RETURN
#x0020  #\space     ; SPACE
Character Set: char-set:ascii/blank

A set holding #\tab and #\space.

Character Set: char-set:ascii/graphic

The set of all characters that put ink on the page. It is the union of char-set:ascii/letter+digit, char-set:ascii/punctuation and char-set:ascii/symbol.

Character Set: char-set:ascii/printable

The set of all the printable characters. It is the union of char-set:ascii/whitespace and char-set:ascii/graphic.

Character Set: char-set:ascii/control

All the characters whose numeric code is in the range [0, 31] plus 127.

Character Set: char-set:ascii/vowels
Character Set: char-set:ascii/consonants
Character Set: char-set:ascii/vowels/lower-case
Character Set: char-set:ascii/consonants/lower-case
Character Set: char-set:ascii/vowels/upper-case
Character Set: char-set:ascii/consonants/upper-case

Sets of vowels and consonants. Notice that lower case vowels are: #\a, #\e, #\i, #\o, #\u.


Next: , Previous: , Up: char-sets sets   [Index]