xref: /aosp_15_r20/external/libcups/vcnet/regex/cclass.h (revision 5e7646d21f1134fb0638875d812ef646c12ab91e)
1*5e7646d2SAndroid Build Coastguard Worker /* character-class table */
2*5e7646d2SAndroid Build Coastguard Worker static struct cclass {
3*5e7646d2SAndroid Build Coastguard Worker 	char *name;
4*5e7646d2SAndroid Build Coastguard Worker 	char *chars;
5*5e7646d2SAndroid Build Coastguard Worker 	char *multis;
6*5e7646d2SAndroid Build Coastguard Worker } cclasses[] = {
7*5e7646d2SAndroid Build Coastguard Worker 	"alnum",	"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\
8*5e7646d2SAndroid Build Coastguard Worker 0123456789",				"",
9*5e7646d2SAndroid Build Coastguard Worker 	"alpha",	"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",
10*5e7646d2SAndroid Build Coastguard Worker 					"",
11*5e7646d2SAndroid Build Coastguard Worker 	"blank",	" \t",		"",
12*5e7646d2SAndroid Build Coastguard Worker 	"cntrl",	"\007\b\t\n\v\f\r\1\2\3\4\5\6\16\17\20\21\22\23\24\
13*5e7646d2SAndroid Build Coastguard Worker \25\26\27\30\31\32\33\34\35\36\37\177",	"",
14*5e7646d2SAndroid Build Coastguard Worker 	"digit",	"0123456789",	"",
15*5e7646d2SAndroid Build Coastguard Worker 	"graph",	"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\
16*5e7646d2SAndroid Build Coastguard Worker 0123456789!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~",
17*5e7646d2SAndroid Build Coastguard Worker 					"",
18*5e7646d2SAndroid Build Coastguard Worker 	"lower",	"abcdefghijklmnopqrstuvwxyz",
19*5e7646d2SAndroid Build Coastguard Worker 					"",
20*5e7646d2SAndroid Build Coastguard Worker 	"print",	"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\
21*5e7646d2SAndroid Build Coastguard Worker 0123456789!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~ ",
22*5e7646d2SAndroid Build Coastguard Worker 					"",
23*5e7646d2SAndroid Build Coastguard Worker 	"punct",	"!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~",
24*5e7646d2SAndroid Build Coastguard Worker 					"",
25*5e7646d2SAndroid Build Coastguard Worker 	"space",	"\t\n\v\f\r ",	"",
26*5e7646d2SAndroid Build Coastguard Worker 	"upper",	"ABCDEFGHIJKLMNOPQRSTUVWXYZ",
27*5e7646d2SAndroid Build Coastguard Worker 					"",
28*5e7646d2SAndroid Build Coastguard Worker 	"xdigit",	"0123456789ABCDEFabcdef",
29*5e7646d2SAndroid Build Coastguard Worker 					"",
30*5e7646d2SAndroid Build Coastguard Worker 	NULL,		0,		""
31*5e7646d2SAndroid Build Coastguard Worker };
32