ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/libio/string/pcre_chartables.c
Revision: 71
Committed: Tue Oct 4 18:05:45 2005 UTC (20 years, 10 months ago) by knight
Content type: text/x-csrc
File size: 7041 byte(s)
Log Message:
- svn:keywords *smacks adx*

File Contents

# User Rev Content
1 knight 71 /* $Id$ */
2 adx 59
3     /*************************************************
4     * Perl-Compatible Regular Expressions *
5     *************************************************/
6    
7     /* This file is automatically written by the dftables auxiliary
8     program. If you edit it by hand, you might like to edit the Makefile to
9     prevent its ever being regenerated.
10    
11     This file contains the default tables for characters with codes less than
12     128 (ASCII characters). These tables are used when no external tables are
13     passed to PCRE. */
14    
15     const unsigned char _pcre_default_tables[] = {
16    
17     /* This table is a lower casing table. */
18    
19     0, 1, 2, 3, 4, 5, 6, 7,
20     8, 9, 10, 11, 12, 13, 14, 15,
21     16, 17, 18, 19, 20, 21, 22, 23,
22     24, 25, 26, 27, 28, 29, 30, 31,
23     32, 33, 34, 35, 36, 37, 38, 39,
24     40, 41, 42, 43, 44, 45, 46, 47,
25     48, 49, 50, 51, 52, 53, 54, 55,
26     56, 57, 58, 59, 60, 61, 62, 63,
27     64, 97, 98, 99,100,101,102,103,
28     104,105,106,107,108,109,110,111,
29     112,113,114,115,116,117,118,119,
30     120,121,122, 91, 92, 93, 94, 95,
31     96, 97, 98, 99,100,101,102,103,
32     104,105,106,107,108,109,110,111,
33     112,113,114,115,116,117,118,119,
34     120,121,122,123,124,125,126,127,
35     128,129,130,131,132,133,134,135,
36     136,137,138,139,140,141,142,143,
37     144,145,146,147,148,149,150,151,
38     152,153,154,155,156,157,158,159,
39     160,161,162,163,164,165,166,167,
40     168,169,170,171,172,173,174,175,
41     176,177,178,179,180,181,182,183,
42     184,185,186,187,188,189,190,191,
43     192,193,194,195,196,197,198,199,
44     200,201,202,203,204,205,206,207,
45     208,209,210,211,212,213,214,215,
46     216,217,218,219,220,221,222,223,
47     224,225,226,227,228,229,230,231,
48     232,233,234,235,236,237,238,239,
49     240,241,242,243,244,245,246,247,
50     248,249,250,251,252,253,254,255,
51    
52     /* This table is a case flipping table. */
53    
54     0, 1, 2, 3, 4, 5, 6, 7,
55     8, 9, 10, 11, 12, 13, 14, 15,
56     16, 17, 18, 19, 20, 21, 22, 23,
57     24, 25, 26, 27, 28, 29, 30, 31,
58     32, 33, 34, 35, 36, 37, 38, 39,
59     40, 41, 42, 43, 44, 45, 46, 47,
60     48, 49, 50, 51, 52, 53, 54, 55,
61     56, 57, 58, 59, 60, 61, 62, 63,
62     64, 97, 98, 99,100,101,102,103,
63     104,105,106,107,108,109,110,111,
64     112,113,114,115,116,117,118,119,
65     120,121,122, 91, 92, 93, 94, 95,
66     96, 65, 66, 67, 68, 69, 70, 71,
67     72, 73, 74, 75, 76, 77, 78, 79,
68     80, 81, 82, 83, 84, 85, 86, 87,
69     88, 89, 90,123,124,125,126,127,
70     128,129,130,131,132,133,134,135,
71     136,137,138,139,140,141,142,143,
72     144,145,146,147,148,149,150,151,
73     152,153,154,155,156,157,158,159,
74     160,161,162,163,164,165,166,167,
75     168,169,170,171,172,173,174,175,
76     176,177,178,179,180,181,182,183,
77     184,185,186,187,188,189,190,191,
78     192,193,194,195,196,197,198,199,
79     200,201,202,203,204,205,206,207,
80     208,209,210,211,212,213,214,215,
81     216,217,218,219,220,221,222,223,
82     224,225,226,227,228,229,230,231,
83     232,233,234,235,236,237,238,239,
84     240,241,242,243,244,245,246,247,
85     248,249,250,251,252,253,254,255,
86    
87     /* This table contains bit maps for various character classes.
88     Each map is 32 bytes long and the bits run from the least
89     significant end of each byte. The classes that have their own
90     maps are: space, xdigit, digit, upper, lower, word, graph
91     print, punct, and cntrl. Other classes are built from combinations. */
92    
93     0x00,0x3e,0x00,0x00,0x01,0x00,0x00,0x00,
94     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
95     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
96     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
97    
98     0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x03,
99     0x7e,0x00,0x00,0x00,0x7e,0x00,0x00,0x00,
100     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
101     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
102    
103     0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x03,
104     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
105     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
106     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
107    
108     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
109     0xfe,0xff,0xff,0x07,0x00,0x00,0x00,0x00,
110     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
111     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
112    
113     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
114     0x00,0x00,0x00,0x00,0xfe,0xff,0xff,0x07,
115     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
116     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
117    
118     0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x03,
119     0xfe,0xff,0xff,0x87,0xfe,0xff,0xff,0x07,
120     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
121     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
122    
123     0x00,0x00,0x00,0x00,0xfe,0xff,0xff,0xff,
124     0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x7f,
125     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
126     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
127    
128     0x00,0x00,0x00,0x00,0xff,0xff,0xff,0xff,
129     0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x7f,
130     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
131     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
132    
133     0x00,0x00,0x00,0x00,0xfe,0xff,0x00,0xfc,
134     0x01,0x00,0x00,0xf8,0x01,0x00,0x00,0x78,
135     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
136     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
137    
138     0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,
139     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,
140     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
141     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
142    
143     /* This table identifies various classes of character by individual bits:
144     0x01 white space character
145     0x02 letter
146     0x04 decimal digit
147     0x08 hexadecimal digit
148     0x10 alphanumeric or '_'
149     0x80 regular expression metacharacter or binary zero
150     */
151    
152     0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 0- 7 */
153     0x00,0x01,0x01,0x00,0x01,0x01,0x00,0x00, /* 8- 15 */
154     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 16- 23 */
155     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 24- 31 */
156     0x01,0x00,0x00,0x00,0x80,0x00,0x00,0x00, /* - ' */
157     0x80,0x80,0x80,0x80,0x00,0x00,0x80,0x00, /* ( - / */
158     0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c, /* 0 - 7 */
159     0x1c,0x1c,0x00,0x00,0x00,0x00,0x00,0x80, /* 8 - ? */
160     0x00,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x12, /* @ - G */
161     0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12, /* H - O */
162     0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12, /* P - W */
163     0x12,0x12,0x12,0x80,0x00,0x00,0x80,0x10, /* X - _ */
164     0x00,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x12, /* ` - g */
165     0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12, /* h - o */
166     0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12, /* p - w */
167     0x12,0x12,0x12,0x80,0x80,0x00,0x00,0x00, /* x -127 */
168     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 128-135 */
169     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 136-143 */
170     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 144-151 */
171     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 152-159 */
172     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 160-167 */
173     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 168-175 */
174     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 176-183 */
175     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 184-191 */
176     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 192-199 */
177     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 200-207 */
178     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 208-215 */
179     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 216-223 */
180     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 224-231 */
181     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 232-239 */
182     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 240-247 */
183     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};/* 248-255 */
184    
185     /* End of chartables.c */

Properties

Name Value
svn:eol-style native
svn:keywords Id Revision