1 USING: help.markup help.syntax ;
\r
5 { $values { "ch" "a character" } { "?" "a boolean" } }
\r
6 { $description "Tests for an ASCII whitespace character." } ;
\r
9 { $values { "ch" "a character" } { "?" "a boolean" } }
\r
10 { $description "Tests for a lowercase alphabet ASCII character." } ;
\r
13 { $values { "ch" "a character" } { "?" "a boolean" } }
\r
14 { $description "Tests for a uppercase alphabet ASCII character." } ;
\r
17 { $values { "ch" "a character" } { "?" "a boolean" } }
\r
18 { $description "Tests for an ASCII decimal digit character." } ;
\r
21 { $values { "ch" "a character" } { "?" "a boolean" } }
\r
22 { $description "Tests for an ASCII alphabet character, both upper and lower case." } ;
\r
25 { $values { "ch" "a character" } { "?" "a boolean" } }
\r
26 { $description "Tests for an alphanumeric ASCII character." } ;
\r
29 { $values { "ch" "a character" } { "?" "a boolean" } }
\r
30 { $description "Tests for a printable ASCII character." } ;
\r
33 { $values { "ch" "a character" } { "?" "a boolean" } }
\r
34 { $description "Tests for an ASCII control character." } ;
\r
37 { $values { "ch" "a character" } { "?" "a boolean" } }
\r
38 { $description "Tests for characters which may appear in a Factor string literal without escaping." } ;
\r
41 { $values { "ch" "a character" } { "?" "a boolean" } }
\r
42 { $description "Tests for whether a number is an ASCII character." } ;
\r
45 { $values { "ch" "a character" } { "lower" "a character" } }
\r
46 { $description "Converts an ASCII character to lower case." } ;
\r
49 { $values { "ch" "a character" } { "upper" "a character" } }
\r
50 { $description "Converts an ASCII character to upper case." } ;
\r
53 { $values { "str" "a string" } { "lower" "a string" } }
\r
54 { $description "Converts an ASCII string to lower case." } ;
\r
57 { $values { "str" "a string" } { "upper" "a string" } }
\r
58 { $description "Converts an ASCII string to upper case." } ;
\r
60 ARTICLE: "ascii" "ASCII character classes"
\r
61 "The " { $vocab-link "ascii" } " vocabulary implements traditional ASCII character classes:"
\r
62 { $subsection blank? }
\r
63 { $subsection letter? }
\r
64 { $subsection LETTER? }
\r
65 { $subsection digit? }
\r
66 { $subsection printable? }
\r
67 { $subsection control? }
\r
68 { $subsection quotable? }
\r
69 { $subsection ascii? }
\r
70 "ASCII case conversion is also implemented:"
\r
71 { $subsection ch>lower }
\r
72 { $subsection ch>upper }
\r
73 { $subsection >lower }
\r
74 { $subsection >upper }
\r
75 "Modern applications should use Unicode 5.1 instead (" { $vocab-link "unicode.categories" } ")." ;
\r