1 ! Copyright (C) 2009 Daniel Ehrenberg
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: help.markup help.syntax kernel ;
7 { $class-description "The class of upper cased letters." } ;
10 { $class-description "The class of letters." } ;
13 { $class-description "The class of alphanumeric characters." } ;
16 { $class-description "The class of whitespace characters." } ;
19 { $class-description "The class of pre-defined Unicode code points." } ;
22 { $class-description "The class of control characters." } ;
25 { $class-description "The class of digits." } ;
28 { $class-description "The class of lower-cased letters." } ;
31 { $class-description "The class of characters which are printable, as opposed to being control or formatting characters." } ;
34 { $class-description "The class of letters which don't have a case." } ;
36 ARTICLE: "unicode.categories" "Character classes"
37 "The " { $vocab-link "unicode.categories" } " vocabulary implements predicates for determining if a code point has a particular property, for example being a lower cased letter. These should be used in preference to the " { $vocab-link "ascii" } " equivalents in most cases. Each character class has an associated predicate word."
39 { $subsection blank? }
40 { $subsection letter }
41 { $subsection letter? }
42 { $subsection LETTER }
43 { $subsection LETTER? }
44 { $subsection Letter }
45 { $subsection Letter? }
47 { $subsection digit? }
48 { $subsection printable }
49 { $subsection printable? }
51 { $subsection alpha? }
52 { $subsection control }
53 { $subsection control? }
54 { $subsection uncased }
55 { $subsection uncased? }
56 { $subsection character }
57 { $subsection character? } ;
59 ABOUT: "unicode.categories"