/[pcre]/code/trunk/maint/pcre_chartables.c.non-standard
ViewVC logotype

Contents of /code/trunk/maint/pcre_chartables.c.non-standard

Parent Directory Parent Directory | Revision Log Revision Log


Revision 539 - (show annotations) (download)
Sun Jun 13 21:35:04 2010 UTC (4 years, 5 months ago) by ph10
File size: 3556 byte(s)
A more correct fix for the chartables bug with UTF-8 and non-std tables.

1 const unsigned char _pcre_default_tables[] = {
2 0,1,2,3,4,5,6,7,
3 8,9,10,11,12,13,14,15,
4 16,17,18,19,20,21,22,23,
5 24,25,26,27,28,29,30,31,
6 32,33,34,35,36,37,38,39,
7 40,41,42,43,44,45,46,47,
8 48,49,50,51,52,53,54,55,
9 56,57,58,59,60,61,62,63,
10 64,97,98,99,100,101,102,103,
11 104,105,106,107,108,109,110,111,
12 112,113,114,115,116,117,118,119,
13 120,121,122,91,92,93,94,95,
14 96,97,98,99,100,101,102,103,
15 104,105,106,107,108,109,110,111,
16 112,113,114,115,116,117,118,119,
17 120,121,122,123,124,125,126,127,
18 128,129,130,131,132,133,134,135,
19 136,137,138,139,140,141,142,143,
20 144,145,146,147,148,149,150,151,
21 152,153,154,155,156,157,158,159,
22 160,161,162,163,164,165,166,167,
23 168,169,170,171,172,173,174,175,
24 176,177,178,179,180,181,182,183,
25 184,185,186,187,188,189,190,191,
26 224,225,226,227,228,229,230,231,
27 232,233,234,235,236,237,238,239,
28 240,241,242,243,244,245,246,215,
29 248,249,250,251,252,253,254,223,
30 224,225,226,227,228,229,230,231,
31 232,233,234,235,236,237,238,239,
32 240,241,242,243,244,245,246,247,
33 248,249,250,251,252,253,254,255,
34 0,1,2,3,4,5,6,7,
35 8,9,10,11,12,13,14,15,
36 16,17,18,19,20,21,22,23,
37 24,25,26,27,28,29,30,31,
38 32,33,34,35,36,37,38,39,
39 40,41,42,43,44,45,46,47,
40 48,49,50,51,52,53,54,55,
41 56,57,58,59,60,61,62,63,
42 64,97,98,99,100,101,102,103,
43 104,105,106,107,108,109,110,111,
44 112,113,114,115,116,117,118,119,
45 120,121,122,91,92,93,94,95,
46 96,65,66,67,68,69,70,71,
47 72,73,74,75,76,77,78,79,
48 80,81,82,83,84,85,86,87,
49 88,89,90,123,124,125,126,127,
50 128,129,130,131,132,133,134,135,
51 136,137,138,139,140,141,142,143,
52 144,145,146,147,148,149,150,151,
53 152,153,154,155,156,157,158,159,
54 160,161,162,163,164,165,166,167,
55 168,169,170,171,172,173,174,175,
56 176,177,178,179,180,181,182,183,
57 184,185,186,187,188,189,190,191,
58 224,225,226,227,228,229,230,231,
59 232,233,234,235,236,237,238,239,
60 240,241,242,243,244,245,246,215,
61 248,249,250,251,252,253,254,223,
62 192,193,194,195,196,197,198,199,
63 200,201,202,203,204,205,206,207,
64 208,209,210,211,212,213,214,247,
65 216,217,218,219,220,221,222,255,
66 0,62,0,0,1,0,0,0,
67 0,0,0,0,0,0,0,0,
68 32,0,0,0,1,0,0,0,
69 0,0,0,0,0,0,0,0,
70 0,0,0,0,0,0,255,3,
71 126,0,0,0,126,0,0,0,
72 0,0,0,0,0,0,0,0,
73 0,0,0,0,0,0,0,0,
74 0,0,0,0,0,0,255,3,
75 0,0,0,0,0,0,0,0,
76 0,0,0,0,0,0,12,2,
77 0,0,0,0,0,0,0,0,
78 0,0,0,0,0,0,0,0,
79 254,255,255,7,0,0,0,0,
80 0,0,0,0,0,0,0,0,
81 255,255,127,127,0,0,0,0,
82 0,0,0,0,0,0,0,0,
83 0,0,0,0,254,255,255,7,
84 0,0,0,0,0,4,32,4,
85 0,0,0,128,255,255,127,255,
86 0,0,0,0,0,0,255,3,
87 254,255,255,135,254,255,255,7,
88 0,0,0,0,0,4,44,6,
89 255,255,127,255,255,255,127,255,
90 0,0,0,0,254,255,255,255,
91 255,255,255,255,255,255,255,127,
92 0,0,0,0,254,255,255,255,
93 255,255,255,255,255,255,255,255,
94 0,2,0,0,255,255,255,255,
95 255,255,255,255,255,255,255,127,
96 0,0,0,0,255,255,255,255,
97 255,255,255,255,255,255,255,255,
98 0,0,0,0,254,255,0,252,
99 1,0,0,248,1,0,0,120,
100 0,0,0,0,254,255,255,255,
101 0,0,128,0,0,0,128,0,
102 255,255,255,255,0,0,0,0,
103 0,0,0,0,0,0,0,128,
104 255,255,255,255,0,0,0,0,
105 0,0,0,0,0,0,0,0,
106 128,0,0,0,0,0,0,0,
107 0,1,1,0,1,1,0,0,
108 0,0,0,0,0,0,0,0,
109 0,0,0,0,0,0,0,0,
110 1,0,0,0,128,0,0,0,
111 128,128,128,128,0,0,128,0,
112 28,28,28,28,28,28,28,28,
113 28,28,0,0,0,0,0,128,
114 0,26,26,26,26,26,26,18,
115 18,18,18,18,18,18,18,18,
116 18,18,18,18,18,18,18,18,
117 18,18,18,128,128,0,128,16,
118 0,26,26,26,26,26,26,18,
119 18,18,18,18,18,18,18,18,
120 18,18,18,18,18,18,18,18,
121 18,18,18,128,128,0,0,0,
122 0,0,0,0,0,1,0,0,
123 0,0,0,0,0,0,0,0,
124 0,0,0,0,0,0,0,0,
125 0,0,0,0,0,0,0,0,
126 1,0,0,0,0,0,0,0,
127 0,0,18,0,0,0,0,0,
128 0,0,20,20,0,18,0,0,
129 0,20,18,0,0,0,0,0,
130 18,18,18,18,18,18,18,18,
131 18,18,18,18,18,18,18,18,
132 18,18,18,18,18,18,18,0,
133 18,18,18,18,18,18,18,18,
134 18,18,18,18,18,18,18,18,
135 18,18,18,18,18,18,18,18,
136 18,18,18,18,18,18,18,0,
137 18,18,18,18,18,18,18,18
138 };

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12