2 '\" Copyright (c) 1997 Sun Microsystems, Inc.
4 '\" See the file "license.terms" for information on usage and redistribution
5 '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
7 .TH Tcl_UniCharIsAlpha 3 "8.1" Tcl "Tcl Library Procedures"
11 Tcl_UniCharIsAlnum, Tcl_UniCharIsAlpha, Tcl_UniCharIsControl, Tcl_UniCharIsDigit, Tcl_UniCharIsGraph, Tcl_UniCharIsLower, Tcl_UniCharIsPrint, Tcl_UniCharIsPunct, Tcl_UniCharIsSpace, Tcl_UniCharIsUpper, Tcl_UniCharIsWordChar \- routines for classification of Tcl_UniChar characters
14 \fB#include <tcl.h>\fR
17 \fBTcl_UniCharIsAlnum\fR(\fIch\fR)
20 \fBTcl_UniCharIsAlpha\fR(\fIch\fR)
23 \fBTcl_UniCharIsControl\fR(\fIch\fR)
26 \fBTcl_UniCharIsDigit\fR(\fIch\fR)
29 \fBTcl_UniCharIsGraph\fR(\fIch\fR)
32 \fBTcl_UniCharIsLower\fR(\fIch\fR)
35 \fBTcl_UniCharIsPrint\fR(\fIch\fR)
38 \fBTcl_UniCharIsPunct\fR(\fIch\fR)
41 \fBTcl_UniCharIsSpace\fR(\fIch\fR)
44 \fBTcl_UniCharIsUpper\fR(\fIch\fR)
47 \fBTcl_UniCharIsWordChar\fR(\fIch\fR)
51 The Tcl_UniChar to be examined.
56 All of the routines described examine Unicode characters and return a
57 boolean value. A non-zero return value means that the character does
58 belong to the character class associated with the called routine. The
59 rest of this document just describes the character classes associated
60 with the various routines.
62 .SH "CHARACTER CLASSES"
64 \fBTcl_UniCharIsAlnum\fR tests if the character is an alphanumeric Unicode character.
66 \fBTcl_UniCharIsAlpha\fR tests if the character is an alphabetic Unicode character.
68 \fBTcl_UniCharIsControl\fR tests if the character is a Unicode control character.
70 \fBTcl_UniCharIsDigit\fR tests if the character is a numeric Unicode character.
72 \fBTcl_UniCharIsGraph\fR tests if the character is any Unicode print character except space.
74 \fBTcl_UniCharIsLower\fR tests if the character is a lowercase Unicode character.
76 \fBTcl_UniCharIsPrint\fR tests if the character is a Unicode print character.
78 \fBTcl_UniCharIsPunct\fR tests if the character is a Unicode punctuation character.
80 \fBTcl_UniCharIsSpace\fR tests if the character is a whitespace Unicode character.
82 \fBTcl_UniCharIsUpper\fR tests if the character is an uppercase Unicode character.
84 \fBTcl_UniCharIsWordChar\fR tests if the character is alphanumeric or
85 a connector punctuation mark.
88 unicode, classification