/[pcre]/code/trunk/pcre_tables.c
ViewVC logotype

Diff of /code/trunk/pcre_tables.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 666 by ph10, Mon Aug 22 14:56:43 2011 UTC revision 1050 by chpe, Sun Sep 30 18:20:10 2012 UTC
# Line 6  Line 6 
6  and semantics are as close as possible to those of the Perl 5 language.  and semantics are as close as possible to those of the Perl 5 language.
7    
8                         Written by Philip Hazel                         Written by Philip Hazel
9             Copyright (c) 1997-2009 University of Cambridge             Copyright (c) 1997-2012 University of Cambridge
10    
11  -----------------------------------------------------------------------------  -----------------------------------------------------------------------------
12  Redistribution and use in source and binary forms, with or without  Redistribution and use in source and binary forms, with or without
# Line 37  POSSIBILITY OF SUCH DAMAGE. Line 37  POSSIBILITY OF SUCH DAMAGE.
37  -----------------------------------------------------------------------------  -----------------------------------------------------------------------------
38  */  */
39    
40    #ifndef PCRE_INCLUDED
41    
42  /* This module contains some fixed tables that are used by more than one of the  /* This module contains some fixed tables that are used by more than one of the
43  PCRE code modules. The tables are also #included by the pcretest program, which  PCRE code modules. The tables are also #included by the pcretest program, which
# Line 50  clashes with the library. */ Line 51  clashes with the library. */
51    
52  #include "pcre_internal.h"  #include "pcre_internal.h"
53    
54    #endif /* PCRE_INCLUDED */
55    
56  /* Table of sizes for the fixed-length opcodes. It's defined in a macro so that  /* Table of sizes for the fixed-length opcodes. It's defined in a macro so that
57  the definition is next to the definition of the opcodes in pcre_internal.h. */  the definition is next to the definition of the opcodes in pcre_internal.h. */
58    
59  const uschar _pcre_OP_lengths[] = { OP_LENGTHS };  const pcre_uint8 PRIV(OP_lengths)[] = { OP_LENGTHS };
60    
61    /* Tables of horizontal and vertical whitespace characters, suitable for
62    adding to classes. */
63    
64    const pcre_uint32 PRIV(hspace_list)[] = { HSPACE_LIST };
65    const pcre_uint32 PRIV(vspace_list)[] = { VSPACE_LIST };
66    
67    
68    
# Line 65  const uschar _pcre_OP_lengths[] = { OP_L Line 73  const uschar _pcre_OP_lengths[] = { OP_L
73  /* These are the breakpoints for different numbers of bytes in a UTF-8  /* These are the breakpoints for different numbers of bytes in a UTF-8
74  character. */  character. */
75    
76  #ifdef SUPPORT_UTF8  #if (defined SUPPORT_UTF && defined COMPILE_PCRE8) \
77      || (defined PCRE_INCLUDED && defined SUPPORT_PCRE16)
78    
79    /* These tables are also required by pcretest in 16 bit mode. */
80    
81  const int _pcre_utf8_table1[] =  const int PRIV(utf8_table1)[] =
82    { 0x7f, 0x7ff, 0xffff, 0x1fffff, 0x3ffffff, 0x7fffffff};    { 0x7f, 0x7ff, 0xffff, 0x1fffff, 0x3ffffff, 0x7fffffff};
83    
84  const int _pcre_utf8_table1_size = sizeof(_pcre_utf8_table1)/sizeof(int);  const int PRIV(utf8_table1_size) = sizeof(PRIV(utf8_table1)) / sizeof(int);
85    
86  /* These are the indicator bits and the mask for the data bits to set in the  /* These are the indicator bits and the mask for the data bits to set in the
87  first byte of a character, indexed by the number of additional bytes. */  first byte of a character, indexed by the number of additional bytes. */
88    
89  const int _pcre_utf8_table2[] = { 0,    0xc0, 0xe0, 0xf0, 0xf8, 0xfc};  const int PRIV(utf8_table2)[] = { 0,    0xc0, 0xe0, 0xf0, 0xf8, 0xfc};
90  const int _pcre_utf8_table3[] = { 0xff, 0x1f, 0x0f, 0x07, 0x03, 0x01};  const int PRIV(utf8_table3)[] = { 0xff, 0x1f, 0x0f, 0x07, 0x03, 0x01};
91    
92  /* Table of the number of extra bytes, indexed by the first byte masked with  /* Table of the number of extra bytes, indexed by the first byte masked with
93  0x3f. The highest number for a valid UTF-8 first byte is in fact 0x3d. */  0x3f. The highest number for a valid UTF-8 first byte is in fact 0x3d. */
94    
95  const uschar _pcre_utf8_table4[] = {  const pcre_uint8 PRIV(utf8_table4)[] = {
96    1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,    1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
97    1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,    1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
98    2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,    2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
99    3,3,3,3,3,3,3,3,4,4,4,4,5,5,5,5 };    3,3,3,3,3,3,3,3,4,4,4,4,5,5,5,5 };
100    
101  #ifdef SUPPORT_JIT  #endif /* (SUPPORT_UTF && COMPILE_PCRE8) || (PCRE_INCLUDED && SUPPORT_PCRE16)*/
 /* Full table of the number of extra bytes. See _pcre_utf8_table4 above. */  
102    
103  const uschar _pcre_utf8_char_sizes[] = {  #ifdef SUPPORT_UTF
   1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,  
   1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,  
   1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,  
   1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,  
   1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,  
   1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,  
   1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,  
   1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,  
   1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,  
   1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,  
   1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,  
   1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,  
   2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,  
   2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,  
   3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,  
   4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,  
 };  
 #endif  
104    
105  /* Table to translate from particular type value to the general value. */  /* Table to translate from particular type value to the general value. */
106    
107  const int _pcre_ucp_gentype[] = {  const int PRIV(ucp_gentype)[] = {
108    ucp_C, ucp_C, ucp_C, ucp_C, ucp_C,  /* Cc, Cf, Cn, Co, Cs */    ucp_C, ucp_C, ucp_C, ucp_C, ucp_C,  /* Cc, Cf, Cn, Co, Cs */
109    ucp_L, ucp_L, ucp_L, ucp_L, ucp_L,  /* Ll, Lu, Lm, Lo, Lt */    ucp_L, ucp_L, ucp_L, ucp_L, ucp_L,  /* Ll, Lu, Lm, Lo, Lt */
110    ucp_M, ucp_M, ucp_M,                /* Mc, Me, Mn */    ucp_M, ucp_M, ucp_M,                /* Mc, Me, Mn */
# Line 123  const int _pcre_ucp_gentype[] = { Line 115  const int _pcre_ucp_gentype[] = {
115    ucp_Z, ucp_Z, ucp_Z                 /* Zl, Zp, Zs */    ucp_Z, ucp_Z, ucp_Z                 /* Zl, Zp, Zs */
116  };  };
117    
118    /* This table encodes the rules for finding the end of an extended grapheme
119    cluster. Every code point has a grapheme break property which is one of the
120    ucp_gbXX values defined in ucp.h. The 2-dimensional table is indexed by the
121    properties of two adjacent code points. The left property selects a word from
122    the table, and the right property selects a bit from that word like this:
123    
124      ucp_gbtable[left-property] & (1 << right-property)
125    
126    The value is non-zero if a grapheme break is NOT permitted between the relevant
127    two code points. The breaking rules are as follows:
128    
129    1. Break at the start and end of text (pretty obviously).
130    
131    2. Do not break between a CR and LF; otherwise, break before and   after
132       controls.
133    
134    3. Do not break Hangul syllable sequences, the rules for which are:
135    
136        L may be followed by L, V, LV or LVT
137        LV or V may be followed by V or T
138        LVT or T may be followed by T
139    
140    4. Do not break before extending characters.
141    
142    The next two rules are only for extended grapheme clusters (but that's what we
143    are implementing).
144    
145    5. Do not break before SpacingMarks.
146    
147    6. Do not break after Prepend characters.
148    
149    7. Otherwise, break everywhere.
150    */
151    
152    const pcre_uint32 PRIV(ucp_gbtable[]) = {
153       (1<<ucp_gbLF),                                           /*  0 CR */
154       0,                                                       /*  1 LF */
155       0,                                                       /*  2 Control */
156       (1<<ucp_gbExtend)|(1<<ucp_gbSpacingMark),                /*  3 Extend */
157       (1<<ucp_gbExtend)|(1<<ucp_gbPrepend)|                    /*  4 Prepend */
158         (1<<ucp_gbSpacingMark)|(1<<ucp_gbL)|
159         (1<<ucp_gbV)|(1<<ucp_gbT)|(1<<ucp_gbLV)|
160         (1<<ucp_gbLVT)|(1<<ucp_gbOther),
161    
162       (1<<ucp_gbExtend)|(1<<ucp_gbSpacingMark),                /*  5 SpacingMark */
163       (1<<ucp_gbExtend)|(1<<ucp_gbSpacingMark)|(1<<ucp_gbL)|   /*  6 L */
164         (1<<ucp_gbL)|(1<<ucp_gbV)|(1<<ucp_gbLV)|(1<<ucp_gbLVT),
165    
166       (1<<ucp_gbExtend)|(1<<ucp_gbSpacingMark)|(1<<ucp_gbV)|   /*  7 V */
167         (1<<ucp_gbT),
168    
169       (1<<ucp_gbExtend)|(1<<ucp_gbSpacingMark)|(1<<ucp_gbT),   /*  8 T */
170       (1<<ucp_gbExtend)|(1<<ucp_gbSpacingMark)|(1<<ucp_gbV)|   /*  9 LV */
171         (1<<ucp_gbT),
172    
173       (1<<ucp_gbExtend)|(1<<ucp_gbSpacingMark)|(1<<ucp_gbT),   /* 10 LVT */
174       (1<<ucp_gbRegionalIndicator),                            /* 11 RegionalIndicator */
175       (1<<ucp_gbExtend)|(1<<ucp_gbSpacingMark)                 /* 12 Other */
176    };
177    
178  #ifdef SUPPORT_JIT  #ifdef SUPPORT_JIT
179  /* This table reverses _pcre_ucp_gentype. We can save the cost  /* This table reverses PRIV(ucp_gentype). We can save the cost
180  of a memory load. */  of a memory load. */
181    
182  const int _pcre_ucp_typerange[] = {  const int PRIV(ucp_typerange)[] = {
183    ucp_Cc, ucp_Cs,    ucp_Cc, ucp_Cs,
184    ucp_Ll, ucp_Lu,    ucp_Ll, ucp_Lu,
185    ucp_Mc, ucp_Mn,    ucp_Mc, ucp_Mn,
# Line 136  const int _pcre_ucp_typerange[] = { Line 188  const int _pcre_ucp_typerange[] = {
188    ucp_Sc, ucp_So,    ucp_Sc, ucp_So,
189    ucp_Zl, ucp_Zs,    ucp_Zl, ucp_Zs,
190  };  };
191  #endif  #endif /* SUPPORT_JIT */
192    
193  /* The pcre_utt[] table below translates Unicode property names into type and  /* The pcre_utt[] table below translates Unicode property names into type and
194  code values. It is searched by binary chop, so must be in collating sequence of  code values. It is searched by binary chop, so must be in collating sequence of
# Line 173  strings to make sure that UTF-8 support Line 225  strings to make sure that UTF-8 support
225  #define STRING_Carian0 STR_C STR_a STR_r STR_i STR_a STR_n "\0"  #define STRING_Carian0 STR_C STR_a STR_r STR_i STR_a STR_n "\0"
226  #define STRING_Cc0 STR_C STR_c "\0"  #define STRING_Cc0 STR_C STR_c "\0"
227  #define STRING_Cf0 STR_C STR_f "\0"  #define STRING_Cf0 STR_C STR_f "\0"
228    #define STRING_Chakma0 STR_C STR_h STR_a STR_k STR_m STR_a "\0"
229  #define STRING_Cham0 STR_C STR_h STR_a STR_m "\0"  #define STRING_Cham0 STR_C STR_h STR_a STR_m "\0"
230  #define STRING_Cherokee0 STR_C STR_h STR_e STR_r STR_o STR_k STR_e STR_e "\0"  #define STRING_Cherokee0 STR_C STR_h STR_e STR_r STR_o STR_k STR_e STR_e "\0"
231  #define STRING_Cn0 STR_C STR_n "\0"  #define STRING_Cn0 STR_C STR_n "\0"
# Line 230  strings to make sure that UTF-8 support Line 283  strings to make sure that UTF-8 support
283  #define STRING_Mc0 STR_M STR_c "\0"  #define STRING_Mc0 STR_M STR_c "\0"
284  #define STRING_Me0 STR_M STR_e "\0"  #define STRING_Me0 STR_M STR_e "\0"
285  #define STRING_Meetei_Mayek0 STR_M STR_e STR_e STR_t STR_e STR_i STR_UNDERSCORE STR_M STR_a STR_y STR_e STR_k "\0"  #define STRING_Meetei_Mayek0 STR_M STR_e STR_e STR_t STR_e STR_i STR_UNDERSCORE STR_M STR_a STR_y STR_e STR_k "\0"
286    #define STRING_Meroitic_Cursive0 STR_M STR_e STR_r STR_o STR_i STR_t STR_i STR_c STR_UNDERSCORE STR_C STR_u STR_r STR_s STR_i STR_v STR_e "\0"
287    #define STRING_Meroitic_Hieroglyphs0 STR_M STR_e STR_r STR_o STR_i STR_t STR_i STR_c STR_UNDERSCORE STR_H STR_i STR_e STR_r STR_o STR_g STR_l STR_y STR_p STR_h STR_s "\0"
288    #define STRING_Miao0 STR_M STR_i STR_a STR_o "\0"
289  #define STRING_Mn0 STR_M STR_n "\0"  #define STRING_Mn0 STR_M STR_n "\0"
290  #define STRING_Mongolian0 STR_M STR_o STR_n STR_g STR_o STR_l STR_i STR_a STR_n "\0"  #define STRING_Mongolian0 STR_M STR_o STR_n STR_g STR_o STR_l STR_i STR_a STR_n "\0"
291  #define STRING_Myanmar0 STR_M STR_y STR_a STR_n STR_m STR_a STR_r "\0"  #define STRING_Myanmar0 STR_M STR_y STR_a STR_n STR_m STR_a STR_r "\0"
# Line 263  strings to make sure that UTF-8 support Line 319  strings to make sure that UTF-8 support
319  #define STRING_Samaritan0 STR_S STR_a STR_m STR_a STR_r STR_i STR_t STR_a STR_n "\0"  #define STRING_Samaritan0 STR_S STR_a STR_m STR_a STR_r STR_i STR_t STR_a STR_n "\0"
320  #define STRING_Saurashtra0 STR_S STR_a STR_u STR_r STR_a STR_s STR_h STR_t STR_r STR_a "\0"  #define STRING_Saurashtra0 STR_S STR_a STR_u STR_r STR_a STR_s STR_h STR_t STR_r STR_a "\0"
321  #define STRING_Sc0 STR_S STR_c "\0"  #define STRING_Sc0 STR_S STR_c "\0"
322    #define STRING_Sharada0 STR_S STR_h STR_a STR_r STR_a STR_d STR_a "\0"
323  #define STRING_Shavian0 STR_S STR_h STR_a STR_v STR_i STR_a STR_n "\0"  #define STRING_Shavian0 STR_S STR_h STR_a STR_v STR_i STR_a STR_n "\0"
324  #define STRING_Sinhala0 STR_S STR_i STR_n STR_h STR_a STR_l STR_a "\0"  #define STRING_Sinhala0 STR_S STR_i STR_n STR_h STR_a STR_l STR_a "\0"
325  #define STRING_Sk0 STR_S STR_k "\0"  #define STRING_Sk0 STR_S STR_k "\0"
326  #define STRING_Sm0 STR_S STR_m "\0"  #define STRING_Sm0 STR_S STR_m "\0"
327  #define STRING_So0 STR_S STR_o "\0"  #define STRING_So0 STR_S STR_o "\0"
328    #define STRING_Sora_Sompeng0 STR_S STR_o STR_r STR_a STR_UNDERSCORE STR_S STR_o STR_m STR_p STR_e STR_n STR_g "\0"
329  #define STRING_Sundanese0 STR_S STR_u STR_n STR_d STR_a STR_n STR_e STR_s STR_e "\0"  #define STRING_Sundanese0 STR_S STR_u STR_n STR_d STR_a STR_n STR_e STR_s STR_e "\0"
330  #define STRING_Syloti_Nagri0 STR_S STR_y STR_l STR_o STR_t STR_i STR_UNDERSCORE STR_N STR_a STR_g STR_r STR_i "\0"  #define STRING_Syloti_Nagri0 STR_S STR_y STR_l STR_o STR_t STR_i STR_UNDERSCORE STR_N STR_a STR_g STR_r STR_i "\0"
331  #define STRING_Syriac0 STR_S STR_y STR_r STR_i STR_a STR_c "\0"  #define STRING_Syriac0 STR_S STR_y STR_r STR_i STR_a STR_c "\0"
# Line 276  strings to make sure that UTF-8 support Line 334  strings to make sure that UTF-8 support
334  #define STRING_Tai_Le0 STR_T STR_a STR_i STR_UNDERSCORE STR_L STR_e "\0"  #define STRING_Tai_Le0 STR_T STR_a STR_i STR_UNDERSCORE STR_L STR_e "\0"
335  #define STRING_Tai_Tham0 STR_T STR_a STR_i STR_UNDERSCORE STR_T STR_h STR_a STR_m "\0"  #define STRING_Tai_Tham0 STR_T STR_a STR_i STR_UNDERSCORE STR_T STR_h STR_a STR_m "\0"
336  #define STRING_Tai_Viet0 STR_T STR_a STR_i STR_UNDERSCORE STR_V STR_i STR_e STR_t "\0"  #define STRING_Tai_Viet0 STR_T STR_a STR_i STR_UNDERSCORE STR_V STR_i STR_e STR_t "\0"
337    #define STRING_Takri0 STR_T STR_a STR_k STR_r STR_i "\0"
338  #define STRING_Tamil0 STR_T STR_a STR_m STR_i STR_l "\0"  #define STRING_Tamil0 STR_T STR_a STR_m STR_i STR_l "\0"
339  #define STRING_Telugu0 STR_T STR_e STR_l STR_u STR_g STR_u "\0"  #define STRING_Telugu0 STR_T STR_e STR_l STR_u STR_g STR_u "\0"
340  #define STRING_Thaana0 STR_T STR_h STR_a STR_a STR_n STR_a "\0"  #define STRING_Thaana0 STR_T STR_h STR_a STR_a STR_n STR_a "\0"
# Line 294  strings to make sure that UTF-8 support Line 353  strings to make sure that UTF-8 support
353  #define STRING_Zp0 STR_Z STR_p "\0"  #define STRING_Zp0 STR_Z STR_p "\0"
354  #define STRING_Zs0 STR_Z STR_s "\0"  #define STRING_Zs0 STR_Z STR_s "\0"
355    
356  const char _pcre_utt_names[] =  const char PRIV(utt_names)[] =
357    STRING_Any0    STRING_Any0
358    STRING_Arabic0    STRING_Arabic0
359    STRING_Armenian0    STRING_Armenian0
# Line 313  const char _pcre_utt_names[] = Line 372  const char _pcre_utt_names[] =
372    STRING_Carian0    STRING_Carian0
373    STRING_Cc0    STRING_Cc0
374    STRING_Cf0    STRING_Cf0
375      STRING_Chakma0
376    STRING_Cham0    STRING_Cham0
377    STRING_Cherokee0    STRING_Cherokee0
378    STRING_Cn0    STRING_Cn0
# Line 370  const char _pcre_utt_names[] = Line 430  const char _pcre_utt_names[] =
430    STRING_Mc0    STRING_Mc0
431    STRING_Me0    STRING_Me0
432    STRING_Meetei_Mayek0    STRING_Meetei_Mayek0
433      STRING_Meroitic_Cursive0
434      STRING_Meroitic_Hieroglyphs0
435      STRING_Miao0
436    STRING_Mn0    STRING_Mn0
437    STRING_Mongolian0    STRING_Mongolian0
438    STRING_Myanmar0    STRING_Myanmar0
# Line 403  const char _pcre_utt_names[] = Line 466  const char _pcre_utt_names[] =
466    STRING_Samaritan0    STRING_Samaritan0
467    STRING_Saurashtra0    STRING_Saurashtra0
468    STRING_Sc0    STRING_Sc0
469      STRING_Sharada0
470    STRING_Shavian0    STRING_Shavian0
471    STRING_Sinhala0    STRING_Sinhala0
472    STRING_Sk0    STRING_Sk0
473    STRING_Sm0    STRING_Sm0
474    STRING_So0    STRING_So0
475      STRING_Sora_Sompeng0
476    STRING_Sundanese0    STRING_Sundanese0
477    STRING_Syloti_Nagri0    STRING_Syloti_Nagri0
478    STRING_Syriac0    STRING_Syriac0
# Line 416  const char _pcre_utt_names[] = Line 481  const char _pcre_utt_names[] =
481    STRING_Tai_Le0    STRING_Tai_Le0
482    STRING_Tai_Tham0    STRING_Tai_Tham0
483    STRING_Tai_Viet0    STRING_Tai_Viet0
484      STRING_Takri0
485    STRING_Tamil0    STRING_Tamil0
486    STRING_Telugu0    STRING_Telugu0
487    STRING_Thaana0    STRING_Thaana0
# Line 434  const char _pcre_utt_names[] = Line 500  const char _pcre_utt_names[] =
500    STRING_Zp0    STRING_Zp0
501    STRING_Zs0;    STRING_Zs0;
502    
503  const ucp_type_table _pcre_utt[] = {  const ucp_type_table PRIV(utt)[] = {
504    {   0, PT_ANY, 0 },    {   0, PT_ANY, 0 },
505    {   4, PT_SC, ucp_Arabic },    {   4, PT_SC, ucp_Arabic },
506    {  11, PT_SC, ucp_Armenian },    {  11, PT_SC, ucp_Armenian },
# Line 453  const ucp_type_table _pcre_utt[] = { Line 519  const ucp_type_table _pcre_utt[] = {
519    { 118, PT_SC, ucp_Carian },    { 118, PT_SC, ucp_Carian },
520    { 125, PT_PC, ucp_Cc },    { 125, PT_PC, ucp_Cc },
521    { 128, PT_PC, ucp_Cf },    { 128, PT_PC, ucp_Cf },
522    { 131, PT_SC, ucp_Cham },    { 131, PT_SC, ucp_Chakma },
523    { 136, PT_SC, ucp_Cherokee },    { 138, PT_SC, ucp_Cham },
524    { 145, PT_PC, ucp_Cn },    { 143, PT_SC, ucp_Cherokee },
525    { 148, PT_PC, ucp_Co },    { 152, PT_PC, ucp_Cn },
526    { 151, PT_SC, ucp_Common },    { 155, PT_PC, ucp_Co },
527    { 158, PT_SC, ucp_Coptic },    { 158, PT_SC, ucp_Common },
528    { 165, PT_PC, ucp_Cs },    { 165, PT_SC, ucp_Coptic },
529    { 168, PT_SC, ucp_Cuneiform },    { 172, PT_PC, ucp_Cs },
530    { 178, PT_SC, ucp_Cypriot },    { 175, PT_SC, ucp_Cuneiform },
531    { 186, PT_SC, ucp_Cyrillic },    { 185, PT_SC, ucp_Cypriot },
532    { 195, PT_SC, ucp_Deseret },    { 193, PT_SC, ucp_Cyrillic },
533    { 203, PT_SC, ucp_Devanagari },    { 202, PT_SC, ucp_Deseret },
534    { 214, PT_SC, ucp_Egyptian_Hieroglyphs },    { 210, PT_SC, ucp_Devanagari },
535    { 235, PT_SC, ucp_Ethiopic },    { 221, PT_SC, ucp_Egyptian_Hieroglyphs },
536    { 244, PT_SC, ucp_Georgian },    { 242, PT_SC, ucp_Ethiopic },
537    { 253, PT_SC, ucp_Glagolitic },    { 251, PT_SC, ucp_Georgian },
538    { 264, PT_SC, ucp_Gothic },    { 260, PT_SC, ucp_Glagolitic },
539    { 271, PT_SC, ucp_Greek },    { 271, PT_SC, ucp_Gothic },
540    { 277, PT_SC, ucp_Gujarati },    { 278, PT_SC, ucp_Greek },
541    { 286, PT_SC, ucp_Gurmukhi },    { 284, PT_SC, ucp_Gujarati },
542    { 295, PT_SC, ucp_Han },    { 293, PT_SC, ucp_Gurmukhi },
543    { 299, PT_SC, ucp_Hangul },    { 302, PT_SC, ucp_Han },
544    { 306, PT_SC, ucp_Hanunoo },    { 306, PT_SC, ucp_Hangul },
545    { 314, PT_SC, ucp_Hebrew },    { 313, PT_SC, ucp_Hanunoo },
546    { 321, PT_SC, ucp_Hiragana },    { 321, PT_SC, ucp_Hebrew },
547    { 330, PT_SC, ucp_Imperial_Aramaic },    { 328, PT_SC, ucp_Hiragana },
548    { 347, PT_SC, ucp_Inherited },    { 337, PT_SC, ucp_Imperial_Aramaic },
549    { 357, PT_SC, ucp_Inscriptional_Pahlavi },    { 354, PT_SC, ucp_Inherited },
550    { 379, PT_SC, ucp_Inscriptional_Parthian },    { 364, PT_SC, ucp_Inscriptional_Pahlavi },
551    { 402, PT_SC, ucp_Javanese },    { 386, PT_SC, ucp_Inscriptional_Parthian },
552    { 411, PT_SC, ucp_Kaithi },    { 409, PT_SC, ucp_Javanese },
553    { 418, PT_SC, ucp_Kannada },    { 418, PT_SC, ucp_Kaithi },
554    { 426, PT_SC, ucp_Katakana },    { 425, PT_SC, ucp_Kannada },
555    { 435, PT_SC, ucp_Kayah_Li },    { 433, PT_SC, ucp_Katakana },
556    { 444, PT_SC, ucp_Kharoshthi },    { 442, PT_SC, ucp_Kayah_Li },
557    { 455, PT_SC, ucp_Khmer },    { 451, PT_SC, ucp_Kharoshthi },
558    { 461, PT_GC, ucp_L },    { 462, PT_SC, ucp_Khmer },
559    { 463, PT_LAMP, 0 },    { 468, PT_GC, ucp_L },
560    { 466, PT_SC, ucp_Lao },    { 470, PT_LAMP, 0 },
561    { 470, PT_SC, ucp_Latin },    { 473, PT_SC, ucp_Lao },
562    { 476, PT_SC, ucp_Lepcha },    { 477, PT_SC, ucp_Latin },
563    { 483, PT_SC, ucp_Limbu },    { 483, PT_SC, ucp_Lepcha },
564    { 489, PT_SC, ucp_Linear_B },    { 490, PT_SC, ucp_Limbu },
565    { 498, PT_SC, ucp_Lisu },    { 496, PT_SC, ucp_Linear_B },
566    { 503, PT_PC, ucp_Ll },    { 505, PT_SC, ucp_Lisu },
567    { 506, PT_PC, ucp_Lm },    { 510, PT_PC, ucp_Ll },
568    { 509, PT_PC, ucp_Lo },    { 513, PT_PC, ucp_Lm },
569    { 512, PT_PC, ucp_Lt },    { 516, PT_PC, ucp_Lo },
570    { 515, PT_PC, ucp_Lu },    { 519, PT_PC, ucp_Lt },
571    { 518, PT_SC, ucp_Lycian },    { 522, PT_PC, ucp_Lu },
572    { 525, PT_SC, ucp_Lydian },    { 525, PT_SC, ucp_Lycian },
573    { 532, PT_GC, ucp_M },    { 532, PT_SC, ucp_Lydian },
574    { 534, PT_SC, ucp_Malayalam },    { 539, PT_GC, ucp_M },
575    { 544, PT_SC, ucp_Mandaic },    { 541, PT_SC, ucp_Malayalam },
576    { 552, PT_PC, ucp_Mc },    { 551, PT_SC, ucp_Mandaic },
577    { 555, PT_PC, ucp_Me },    { 559, PT_PC, ucp_Mc },
578    { 558, PT_SC, ucp_Meetei_Mayek },    { 562, PT_PC, ucp_Me },
579    { 571, PT_PC, ucp_Mn },    { 565, PT_SC, ucp_Meetei_Mayek },
580    { 574, PT_SC, ucp_Mongolian },    { 578, PT_SC, ucp_Meroitic_Cursive },
581    { 584, PT_SC, ucp_Myanmar },    { 595, PT_SC, ucp_Meroitic_Hieroglyphs },
582    { 592, PT_GC, ucp_N },    { 616, PT_SC, ucp_Miao },
583    { 594, PT_PC, ucp_Nd },    { 621, PT_PC, ucp_Mn },
584    { 597, PT_SC, ucp_New_Tai_Lue },    { 624, PT_SC, ucp_Mongolian },
585    { 609, PT_SC, ucp_Nko },    { 634, PT_SC, ucp_Myanmar },
586    { 613, PT_PC, ucp_Nl },    { 642, PT_GC, ucp_N },
587    { 616, PT_PC, ucp_No },    { 644, PT_PC, ucp_Nd },
588    { 619, PT_SC, ucp_Ogham },    { 647, PT_SC, ucp_New_Tai_Lue },
589    { 625, PT_SC, ucp_Ol_Chiki },    { 659, PT_SC, ucp_Nko },
590    { 634, PT_SC, ucp_Old_Italic },    { 663, PT_PC, ucp_Nl },
591    { 645, PT_SC, ucp_Old_Persian },    { 666, PT_PC, ucp_No },
592    { 657, PT_SC, ucp_Old_South_Arabian },    { 669, PT_SC, ucp_Ogham },
593    { 675, PT_SC, ucp_Old_Turkic },    { 675, PT_SC, ucp_Ol_Chiki },
594    { 686, PT_SC, ucp_Oriya },    { 684, PT_SC, ucp_Old_Italic },
595    { 692, PT_SC, ucp_Osmanya },    { 695, PT_SC, ucp_Old_Persian },
596    { 700, PT_GC, ucp_P },    { 707, PT_SC, ucp_Old_South_Arabian },
597    { 702, PT_PC, ucp_Pc },    { 725, PT_SC, ucp_Old_Turkic },
598    { 705, PT_PC, ucp_Pd },    { 736, PT_SC, ucp_Oriya },
599    { 708, PT_PC, ucp_Pe },    { 742, PT_SC, ucp_Osmanya },
600    { 711, PT_PC, ucp_Pf },    { 750, PT_GC, ucp_P },
601    { 714, PT_SC, ucp_Phags_Pa },    { 752, PT_PC, ucp_Pc },
602    { 723, PT_SC, ucp_Phoenician },    { 755, PT_PC, ucp_Pd },
603    { 734, PT_PC, ucp_Pi },    { 758, PT_PC, ucp_Pe },
604    { 737, PT_PC, ucp_Po },    { 761, PT_PC, ucp_Pf },
605    { 740, PT_PC, ucp_Ps },    { 764, PT_SC, ucp_Phags_Pa },
606    { 743, PT_SC, ucp_Rejang },    { 773, PT_SC, ucp_Phoenician },
607    { 750, PT_SC, ucp_Runic },    { 784, PT_PC, ucp_Pi },
608    { 756, PT_GC, ucp_S },    { 787, PT_PC, ucp_Po },
609    { 758, PT_SC, ucp_Samaritan },    { 790, PT_PC, ucp_Ps },
610    { 768, PT_SC, ucp_Saurashtra },    { 793, PT_SC, ucp_Rejang },
611    { 779, PT_PC, ucp_Sc },    { 800, PT_SC, ucp_Runic },
612    { 782, PT_SC, ucp_Shavian },    { 806, PT_GC, ucp_S },
613    { 790, PT_SC, ucp_Sinhala },    { 808, PT_SC, ucp_Samaritan },
614    { 798, PT_PC, ucp_Sk },    { 818, PT_SC, ucp_Saurashtra },
615    { 801, PT_PC, ucp_Sm },    { 829, PT_PC, ucp_Sc },
616    { 804, PT_PC, ucp_So },    { 832, PT_SC, ucp_Sharada },
617    { 807, PT_SC, ucp_Sundanese },    { 840, PT_SC, ucp_Shavian },
618    { 817, PT_SC, ucp_Syloti_Nagri },    { 848, PT_SC, ucp_Sinhala },
619    { 830, PT_SC, ucp_Syriac },    { 856, PT_PC, ucp_Sk },
620    { 837, PT_SC, ucp_Tagalog },    { 859, PT_PC, ucp_Sm },
621    { 845, PT_SC, ucp_Tagbanwa },    { 862, PT_PC, ucp_So },
622    { 854, PT_SC, ucp_Tai_Le },    { 865, PT_SC, ucp_Sora_Sompeng },
623    { 861, PT_SC, ucp_Tai_Tham },    { 878, PT_SC, ucp_Sundanese },
624    { 870, PT_SC, ucp_Tai_Viet },    { 888, PT_SC, ucp_Syloti_Nagri },
625    { 879, PT_SC, ucp_Tamil },    { 901, PT_SC, ucp_Syriac },
626    { 885, PT_SC, ucp_Telugu },    { 908, PT_SC, ucp_Tagalog },
627    { 892, PT_SC, ucp_Thaana },    { 916, PT_SC, ucp_Tagbanwa },
628    { 899, PT_SC, ucp_Thai },    { 925, PT_SC, ucp_Tai_Le },
629    { 904, PT_SC, ucp_Tibetan },    { 932, PT_SC, ucp_Tai_Tham },
630    { 912, PT_SC, ucp_Tifinagh },    { 941, PT_SC, ucp_Tai_Viet },
631    { 921, PT_SC, ucp_Ugaritic },    { 950, PT_SC, ucp_Takri },
632    { 930, PT_SC, ucp_Vai },    { 956, PT_SC, ucp_Tamil },
633    { 934, PT_ALNUM, 0 },    { 962, PT_SC, ucp_Telugu },
634    { 938, PT_PXSPACE, 0 },    { 969, PT_SC, ucp_Thaana },
635    { 942, PT_SPACE, 0 },    { 976, PT_SC, ucp_Thai },
636    { 946, PT_WORD, 0 },    { 981, PT_SC, ucp_Tibetan },
637    { 950, PT_SC, ucp_Yi },    { 989, PT_SC, ucp_Tifinagh },
638    { 953, PT_GC, ucp_Z },    { 998, PT_SC, ucp_Ugaritic },
639    { 955, PT_PC, ucp_Zl },    { 1007, PT_SC, ucp_Vai },
640    { 958, PT_PC, ucp_Zp },    { 1011, PT_ALNUM, 0 },
641    { 961, PT_PC, ucp_Zs }    { 1015, PT_PXSPACE, 0 },
642      { 1019, PT_SPACE, 0 },
643      { 1023, PT_WORD, 0 },
644      { 1027, PT_SC, ucp_Yi },
645      { 1030, PT_GC, ucp_Z },
646      { 1032, PT_PC, ucp_Zl },
647      { 1035, PT_PC, ucp_Zp },
648      { 1038, PT_PC, ucp_Zs }
649  };  };
650    
651  const int _pcre_utt_size = sizeof(_pcre_utt)/sizeof(ucp_type_table);  const int PRIV(utt_size) = sizeof(PRIV(utt)) / sizeof(ucp_type_table);
652    
653  #endif  /* SUPPORT_UTF8 */  #endif /* SUPPORT_UTF */
654    
655  /* End of pcre_tables.c */  /* End of pcre_tables.c */

Legend:
Removed from v.666  
changed lines
  Added in v.1050

  ViewVC Help
Powered by ViewVC 1.1.5