chartables.c

Go to the documentation of this file.
00001 
00002 /*  $Id: chartables.c 355 2005-01-11 22:48:55Z andreradke $    */
00003 
00004 /*************************************************
00005 *      Perl-Compatible Regular Expressions       *
00006 *************************************************/
00007 
00008 /* This file is automatically written by the dftables auxiliary 
00009 program. If you edit it by hand, you might like to edit the Makefile to 
00010 prevent its ever being regenerated.
00011 
00012 This file is #included in the compilation of pcre.c to build the default
00013 character tables which are used when no tables are passed to the compile
00014 function. */
00015 
00016 static unsigned char pcre_default_tables[] = {
00017 
00018 /* This table is a lower casing table. */
00019 
00020     0,  1,  2,  3,  4,  5,  6,  7,
00021     8,  9, 10, 11, 12, 13, 14, 15,
00022    16, 17, 18, 19, 20, 21, 22, 23,
00023    24, 25, 26, 27, 28, 29, 30, 31,
00024    32, 33, 34, 35, 36, 37, 38, 39,
00025    40, 41, 42, 43, 44, 45, 46, 47,
00026    48, 49, 50, 51, 52, 53, 54, 55,
00027    56, 57, 58, 59, 60, 61, 62, 63,
00028    64, 97, 98, 99,100,101,102,103,
00029   104,105,106,107,108,109,110,111,
00030   112,113,114,115,116,117,118,119,
00031   120,121,122, 91, 92, 93, 94, 95,
00032    96, 97, 98, 99,100,101,102,103,
00033   104,105,106,107,108,109,110,111,
00034   112,113,114,115,116,117,118,119,
00035   120,121,122,123,124,125,126,127,
00036   128,129,130,131,132,133,134,135,
00037   136,137,138,139,140,141,142,143,
00038   144,145,146,147,148,149,150,151,
00039   152,153,154,155,156,157,158,159,
00040   160,161,162,163,164,165,166,167,
00041   168,169,170,171,172,173,174,175,
00042   176,177,178,179,180,181,182,183,
00043   184,185,186,187,188,189,190,191,
00044   192,193,194,195,196,197,198,199,
00045   200,201,202,203,204,205,206,207,
00046   208,209,210,211,212,213,214,215,
00047   216,217,218,219,220,221,222,223,
00048   224,225,226,227,228,229,230,231,
00049   232,233,234,235,236,237,238,239,
00050   240,241,242,243,244,245,246,247,
00051   248,249,250,251,252,253,254,255,
00052 
00053 /* This table is a case flipping table. */
00054 
00055     0,  1,  2,  3,  4,  5,  6,  7,
00056     8,  9, 10, 11, 12, 13, 14, 15,
00057    16, 17, 18, 19, 20, 21, 22, 23,
00058    24, 25, 26, 27, 28, 29, 30, 31,
00059    32, 33, 34, 35, 36, 37, 38, 39,
00060    40, 41, 42, 43, 44, 45, 46, 47,
00061    48, 49, 50, 51, 52, 53, 54, 55,
00062    56, 57, 58, 59, 60, 61, 62, 63,
00063    64, 97, 98, 99,100,101,102,103,
00064   104,105,106,107,108,109,110,111,
00065   112,113,114,115,116,117,118,119,
00066   120,121,122, 91, 92, 93, 94, 95,
00067    96, 65, 66, 67, 68, 69, 70, 71,
00068    72, 73, 74, 75, 76, 77, 78, 79,
00069    80, 81, 82, 83, 84, 85, 86, 87,
00070    88, 89, 90,123,124,125,126,127,
00071   128,129,130,131,132,133,134,135,
00072   136,137,138,139,140,141,142,143,
00073   144,145,146,147,148,149,150,151,
00074   152,153,154,155,156,157,158,159,
00075   160,161,162,163,164,165,166,167,
00076   168,169,170,171,172,173,174,175,
00077   176,177,178,179,180,181,182,183,
00078   184,185,186,187,188,189,190,191,
00079   192,193,194,195,196,197,198,199,
00080   200,201,202,203,204,205,206,207,
00081   208,209,210,211,212,213,214,215,
00082   216,217,218,219,220,221,222,223,
00083   224,225,226,227,228,229,230,231,
00084   232,233,234,235,236,237,238,239,
00085   240,241,242,243,244,245,246,247,
00086   248,249,250,251,252,253,254,255,
00087 
00088 /* This table contains bit maps for various character classes.
00089 Each map is 32 bytes long and the bits run from the least
00090 significant end of each byte. The classes that have their own
00091 maps are: space, xdigit, digit, upper, lower, word, graph
00092 print, punct, and cntrl. Other classes are built from combinations. */
00093 
00094   0x00,0x3e,0x00,0x00,0x01,0x00,0x00,0x00,
00095   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
00096   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
00097   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
00098 
00099   0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x03,
00100   0x7e,0x00,0x00,0x00,0x7e,0x00,0x00,0x00,
00101   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
00102   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
00103 
00104   0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x03,
00105   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
00106   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
00107   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
00108 
00109   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
00110   0xfe,0xff,0xff,0x07,0x00,0x00,0x00,0x00,
00111   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
00112   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
00113 
00114   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
00115   0x00,0x00,0x00,0x00,0xfe,0xff,0xff,0x07,
00116   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
00117   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
00118 
00119   0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x03,
00120   0xfe,0xff,0xff,0x87,0xfe,0xff,0xff,0x07,
00121   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
00122   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
00123 
00124   0x00,0x00,0x00,0x00,0xfe,0xff,0xff,0xff,
00125   0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x7f,
00126   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
00127   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
00128 
00129   0x00,0x00,0x00,0x00,0xff,0xff,0xff,0xff,
00130   0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x7f,
00131   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
00132   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
00133 
00134   0x00,0x00,0x00,0x00,0xfe,0xff,0x00,0xfc,
00135   0x01,0x00,0x00,0xf8,0x01,0x00,0x00,0x78,
00136   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
00137   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
00138 
00139   0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,
00140   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,
00141   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
00142   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
00143 
00144 /* This table identifies various classes of character by individual bits:
00145   0x01   white space character
00146   0x02   letter
00147   0x04   decimal digit
00148   0x08   hexadecimal digit
00149   0x10   alphanumeric or '_'
00150   0x80   regular expression metacharacter or binary zero
00151 */
00152 
00153   0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /*   0-  7 */
00154   0x00,0x01,0x01,0x00,0x01,0x01,0x00,0x00, /*   8- 15 */
00155   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /*  16- 23 */
00156   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /*  24- 31 */
00157   0x01,0x00,0x00,0x00,0x80,0x00,0x00,0x00, /*    - '  */
00158   0x80,0x80,0x80,0x80,0x00,0x00,0x80,0x00, /*  ( - /  */
00159   0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c, /*  0 - 7  */
00160   0x1c,0x1c,0x00,0x00,0x00,0x00,0x00,0x80, /*  8 - ?  */
00161   0x00,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x12, /*  @ - G  */
00162   0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12, /*  H - O  */
00163   0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12, /*  P - W  */
00164   0x12,0x12,0x12,0x80,0x00,0x00,0x80,0x10, /*  X - _  */
00165   0x00,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x12, /*  ` - g  */
00166   0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12, /*  h - o  */
00167   0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12, /*  p - w  */
00168   0x12,0x12,0x12,0x80,0x80,0x00,0x00,0x00, /*  x -127 */
00169   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 128-135 */
00170   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 136-143 */
00171   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 144-151 */
00172   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 152-159 */
00173   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 160-167 */
00174   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 168-175 */
00175   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 176-183 */
00176   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 184-191 */
00177   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 192-199 */
00178   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 200-207 */
00179   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 208-215 */
00180   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 216-223 */
00181   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 224-231 */
00182   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 232-239 */
00183   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 240-247 */
00184   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};/* 248-255 */
00185 
00186 /* End of chartables.c */

Generated on Wed May 31 18:19:44 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6