Back to index

php5  5.3.10
cclass.h
Go to the documentation of this file.
00001 /* character-class table */
00002 static const struct cclass {
00003        const unsigned char *name;
00004        const unsigned char *chars;
00005        const unsigned char *multis;
00006 } cclasses[] = {
00007        {"alnum",     "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",                          ""},
00008        {"alpha",     "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",
00009                                    ""},
00010        {"blank",     " \t",        ""},
00011        {"cntrl",     "\007\b\t\n\v\f\r\1\2\3\4\5\6\16\17\20\21\22\23\24\
00012 \25\26\27\30\31\32\33\34\35\36\37\177",   ""},
00013        {"digit",     "0123456789", ""},
00014        {"graph",     "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\
00015 0123456789!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~",
00016                                    ""},
00017        {"lower",     "abcdefghijklmnopqrstuvwxyz",
00018                                    ""},
00019        {"print",     "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\
00020 0123456789!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~ ",
00021                                    ""},
00022        {"punct",     "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~",
00023                                    ""},
00024        {"space",     "\t\n\v\f\r ",       ""},
00025        {"upper",     "ABCDEFGHIJKLMNOPQRSTUVWXYZ",
00026                                    ""},
00027        {"xdigit",    "0123456789ABCDEFabcdef",
00028                                    ""},
00029        {NULL,        0,            ""}
00030 };