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