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 Unicode math characters." } ;
19 { $class-description "The class of whitespace characters." } ;
22 { $class-description "The class of pre-defined Unicode code points." } ;
25 { $class-description "The class of control characters." } ;
28 { $class-description "The class of digits." } ;
31 { $class-description "The class of lower-cased letters." } ;
34 { $class-description "The class of characters which are printable, as opposed to being control or formatting characters." } ;
37 { $class-description "The class of letters which don't have a case." } ;
39 ARTICLE: "unicode.categories" "Character classes"
40 "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."
42 { $subsection blank? }
43 { $subsection letter }
44 { $subsection letter? }
45 { $subsection LETTER }
46 { $subsection LETTER? }
47 { $subsection Letter }
48 { $subsection Letter? }
50 { $subsection digit? }
51 { $subsection printable }
52 { $subsection printable? }
54 { $subsection alpha? }
55 { $subsection control }
56 { $subsection control? }
57 { $subsection uncased }
58 { $subsection uncased? }
59 { $subsection character }
60 { $subsection character? }
62 { $subsection math? } ;
64 ABOUT: "unicode.categories"