/[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 491 by ph10, Mon Mar 1 17:45:08 2010 UTC revision 517 by ph10, Wed May 5 10:44:20 2010 UTC
# Line 243  strings to make sure that UTF-8 support Line 243  strings to make sure that UTF-8 support
243  #define STRING_Tifinagh0 STR_T STR_i STR_f STR_i STR_n STR_a STR_g STR_h "\0"  #define STRING_Tifinagh0 STR_T STR_i STR_f STR_i STR_n STR_a STR_g STR_h "\0"
244  #define STRING_Ugaritic0 STR_U STR_g STR_a STR_r STR_i STR_t STR_i STR_c "\0"  #define STRING_Ugaritic0 STR_U STR_g STR_a STR_r STR_i STR_t STR_i STR_c "\0"
245  #define STRING_Vai0 STR_V STR_a STR_i "\0"  #define STRING_Vai0 STR_V STR_a STR_i "\0"
246    #define STRING_Xan0 STR_X STR_a STR_n "\0"
247    #define STRING_Xps0 STR_X STR_p STR_s "\0"
248    #define STRING_Xsp0 STR_X STR_s STR_p "\0"
249    #define STRING_Xwd0 STR_X STR_w STR_d "\0"
250  #define STRING_Yi0 STR_Y STR_i "\0"  #define STRING_Yi0 STR_Y STR_i "\0"
251  #define STRING_Z0 STR_Z "\0"  #define STRING_Z0 STR_Z "\0"
252  #define STRING_Zl0 STR_Z STR_l "\0"  #define STRING_Zl0 STR_Z STR_l "\0"
253  #define STRING_Zp0 STR_Z STR_p "\0"  #define STRING_Zp0 STR_Z STR_p "\0"
254  #define STRING_Zs0 STR_Z STR_s "\0"  #define STRING_Zs0 STR_Z STR_s "\0"
255    
256  const char _pcre_utt_names[] =  const char _pcre_utt_names[] =
257    STRING_Any0    STRING_Any0
258    STRING_Arabic0    STRING_Arabic0
259    STRING_Armenian0    STRING_Armenian0
# Line 376  const char _pcre_utt_names[] = Line 380  const char _pcre_utt_names[] =
380    STRING_Tifinagh0    STRING_Tifinagh0
381    STRING_Ugaritic0    STRING_Ugaritic0
382    STRING_Vai0    STRING_Vai0
383      STRING_Xan0
384      STRING_Xps0
385      STRING_Xsp0
386      STRING_Xwd0
387    STRING_Yi0    STRING_Yi0
388    STRING_Z0    STRING_Z0
389    STRING_Zl0    STRING_Zl0
390    STRING_Zp0    STRING_Zp0
391    STRING_Zs0;    STRING_Zs0;
392    
393  const ucp_type_table _pcre_utt[] = {  const ucp_type_table _pcre_utt[] = {
394    {   0, PT_ANY, 0 },    {   0, PT_ANY, 0 },
395    {   4, PT_SC, ucp_Arabic },    {   4, PT_SC, ucp_Arabic },
396    {  11, PT_SC, ucp_Armenian },    {  11, PT_SC, ucp_Armenian },
397    {  20, PT_SC, ucp_Avestan },    {  20, PT_SC, ucp_Avestan },
398    {  28, PT_SC, ucp_Balinese },    {  28, PT_SC, ucp_Balinese },
399    {  37, PT_SC, ucp_Bamum },    {  37, PT_SC, ucp_Bamum },
400    {  43, PT_SC, ucp_Bengali },    {  43, PT_SC, ucp_Bengali },
401    {  51, PT_SC, ucp_Bopomofo },    {  51, PT_SC, ucp_Bopomofo },
402    {  60, PT_SC, ucp_Braille },    {  60, PT_SC, ucp_Braille },
403    {  68, PT_SC, ucp_Buginese },    {  68, PT_SC, ucp_Buginese },
404    {  77, PT_SC, ucp_Buhid },    {  77, PT_SC, ucp_Buhid },
405    {  83, PT_GC, ucp_C },    {  83, PT_GC, ucp_C },
406    {  85, PT_SC, ucp_Canadian_Aboriginal },    {  85, PT_SC, ucp_Canadian_Aboriginal },
407    { 105, PT_SC, ucp_Carian },    { 105, PT_SC, ucp_Carian },
408    { 112, PT_PC, ucp_Cc },    { 112, PT_PC, ucp_Cc },
409    { 115, PT_PC, ucp_Cf },    { 115, PT_PC, ucp_Cf },
410    { 118, PT_SC, ucp_Cham },    { 118, PT_SC, ucp_Cham },
411    { 123, PT_SC, ucp_Cherokee },    { 123, PT_SC, ucp_Cherokee },
412    { 132, PT_PC, ucp_Cn },    { 132, PT_PC, ucp_Cn },
413    { 135, PT_PC, ucp_Co },    { 135, PT_PC, ucp_Co },
414    { 138, PT_SC, ucp_Common },    { 138, PT_SC, ucp_Common },
415    { 145, PT_SC, ucp_Coptic },    { 145, PT_SC, ucp_Coptic },
416    { 152, PT_PC, ucp_Cs },    { 152, PT_PC, ucp_Cs },
417    { 155, PT_SC, ucp_Cuneiform },    { 155, PT_SC, ucp_Cuneiform },
418    { 165, PT_SC, ucp_Cypriot },    { 165, PT_SC, ucp_Cypriot },
419    { 173, PT_SC, ucp_Cyrillic },    { 173, PT_SC, ucp_Cyrillic },
420    { 182, PT_SC, ucp_Deseret },    { 182, PT_SC, ucp_Deseret },
421    { 190, PT_SC, ucp_Devanagari },    { 190, PT_SC, ucp_Devanagari },
422    { 201, PT_SC, ucp_Egyptian_Hieroglyphs },    { 201, PT_SC, ucp_Egyptian_Hieroglyphs },
423    { 222, PT_SC, ucp_Ethiopic },    { 222, PT_SC, ucp_Ethiopic },
424    { 231, PT_SC, ucp_Georgian },    { 231, PT_SC, ucp_Georgian },
425    { 240, PT_SC, ucp_Glagolitic },    { 240, PT_SC, ucp_Glagolitic },
426    { 251, PT_SC, ucp_Gothic },    { 251, PT_SC, ucp_Gothic },
427    { 258, PT_SC, ucp_Greek },    { 258, PT_SC, ucp_Greek },
428    { 264, PT_SC, ucp_Gujarati },    { 264, PT_SC, ucp_Gujarati },
429    { 273, PT_SC, ucp_Gurmukhi },    { 273, PT_SC, ucp_Gurmukhi },
430    { 282, PT_SC, ucp_Han },    { 282, PT_SC, ucp_Han },
431    { 286, PT_SC, ucp_Hangul },    { 286, PT_SC, ucp_Hangul },
432    { 293, PT_SC, ucp_Hanunoo },    { 293, PT_SC, ucp_Hanunoo },
433    { 301, PT_SC, ucp_Hebrew },    { 301, PT_SC, ucp_Hebrew },
434    { 308, PT_SC, ucp_Hiragana },    { 308, PT_SC, ucp_Hiragana },
435    { 317, PT_SC, ucp_Imperial_Aramaic },    { 317, PT_SC, ucp_Imperial_Aramaic },
436    { 334, PT_SC, ucp_Inherited },    { 334, PT_SC, ucp_Inherited },
437    { 344, PT_SC, ucp_Inscriptional_Pahlavi },    { 344, PT_SC, ucp_Inscriptional_Pahlavi },
438    { 366, PT_SC, ucp_Inscriptional_Parthian },    { 366, PT_SC, ucp_Inscriptional_Parthian },
439    { 389, PT_SC, ucp_Javanese },    { 389, PT_SC, ucp_Javanese },
440    { 398, PT_SC, ucp_Kaithi },    { 398, PT_SC, ucp_Kaithi },
441    { 405, PT_SC, ucp_Kannada },    { 405, PT_SC, ucp_Kannada },
442    { 413, PT_SC, ucp_Katakana },    { 413, PT_SC, ucp_Katakana },
443    { 422, PT_SC, ucp_Kayah_Li },    { 422, PT_SC, ucp_Kayah_Li },
444    { 431, PT_SC, ucp_Kharoshthi },    { 431, PT_SC, ucp_Kharoshthi },
445    { 442, PT_SC, ucp_Khmer },    { 442, PT_SC, ucp_Khmer },
446    { 448, PT_GC, ucp_L },    { 448, PT_GC, ucp_L },
447    { 450, PT_LAMP, 0 },    { 450, PT_LAMP, 0 },
448    { 453, PT_SC, ucp_Lao },    { 453, PT_SC, ucp_Lao },
449    { 457, PT_SC, ucp_Latin },    { 457, PT_SC, ucp_Latin },
450    { 463, PT_SC, ucp_Lepcha },    { 463, PT_SC, ucp_Lepcha },
451    { 470, PT_SC, ucp_Limbu },    { 470, PT_SC, ucp_Limbu },
452    { 476, PT_SC, ucp_Linear_B },    { 476, PT_SC, ucp_Linear_B },
453    { 485, PT_SC, ucp_Lisu },    { 485, PT_SC, ucp_Lisu },
454    { 490, PT_PC, ucp_Ll },    { 490, PT_PC, ucp_Ll },
455    { 493, PT_PC, ucp_Lm },    { 493, PT_PC, ucp_Lm },
456    { 496, PT_PC, ucp_Lo },    { 496, PT_PC, ucp_Lo },
457    { 499, PT_PC, ucp_Lt },    { 499, PT_PC, ucp_Lt },
458    { 502, PT_PC, ucp_Lu },    { 502, PT_PC, ucp_Lu },
459    { 505, PT_SC, ucp_Lycian },    { 505, PT_SC, ucp_Lycian },
460    { 512, PT_SC, ucp_Lydian },    { 512, PT_SC, ucp_Lydian },
461    { 519, PT_GC, ucp_M },    { 519, PT_GC, ucp_M },
462    { 521, PT_SC, ucp_Malayalam },    { 521, PT_SC, ucp_Malayalam },
463    { 531, PT_PC, ucp_Mc },    { 531, PT_PC, ucp_Mc },
464    { 534, PT_PC, ucp_Me },    { 534, PT_PC, ucp_Me },
465    { 537, PT_SC, ucp_Meetei_Mayek },    { 537, PT_SC, ucp_Meetei_Mayek },
466    { 550, PT_PC, ucp_Mn },    { 550, PT_PC, ucp_Mn },
467    { 553, PT_SC, ucp_Mongolian },    { 553, PT_SC, ucp_Mongolian },
468    { 563, PT_SC, ucp_Myanmar },    { 563, PT_SC, ucp_Myanmar },
469    { 571, PT_GC, ucp_N },    { 571, PT_GC, ucp_N },
470    { 573, PT_PC, ucp_Nd },    { 573, PT_PC, ucp_Nd },
471    { 576, PT_SC, ucp_New_Tai_Lue },    { 576, PT_SC, ucp_New_Tai_Lue },
472    { 588, PT_SC, ucp_Nko },    { 588, PT_SC, ucp_Nko },
473    { 592, PT_PC, ucp_Nl },    { 592, PT_PC, ucp_Nl },
474    { 595, PT_PC, ucp_No },    { 595, PT_PC, ucp_No },
475    { 598, PT_SC, ucp_Ogham },    { 598, PT_SC, ucp_Ogham },
476    { 604, PT_SC, ucp_Ol_Chiki },    { 604, PT_SC, ucp_Ol_Chiki },
477    { 613, PT_SC, ucp_Old_Italic },    { 613, PT_SC, ucp_Old_Italic },
478    { 624, PT_SC, ucp_Old_Persian },    { 624, PT_SC, ucp_Old_Persian },
479    { 636, PT_SC, ucp_Old_South_Arabian },    { 636, PT_SC, ucp_Old_South_Arabian },
480    { 654, PT_SC, ucp_Old_Turkic },    { 654, PT_SC, ucp_Old_Turkic },
481    { 665, PT_SC, ucp_Oriya },    { 665, PT_SC, ucp_Oriya },
482    { 671, PT_SC, ucp_Osmanya },    { 671, PT_SC, ucp_Osmanya },
483    { 679, PT_GC, ucp_P },    { 679, PT_GC, ucp_P },
484    { 681, PT_PC, ucp_Pc },    { 681, PT_PC, ucp_Pc },
485    { 684, PT_PC, ucp_Pd },    { 684, PT_PC, ucp_Pd },
486    { 687, PT_PC, ucp_Pe },    { 687, PT_PC, ucp_Pe },
487    { 690, PT_PC, ucp_Pf },    { 690, PT_PC, ucp_Pf },
488    { 693, PT_SC, ucp_Phags_Pa },    { 693, PT_SC, ucp_Phags_Pa },
489    { 702, PT_SC, ucp_Phoenician },    { 702, PT_SC, ucp_Phoenician },
490    { 713, PT_PC, ucp_Pi },    { 713, PT_PC, ucp_Pi },
491    { 716, PT_PC, ucp_Po },    { 716, PT_PC, ucp_Po },
492    { 719, PT_PC, ucp_Ps },    { 719, PT_PC, ucp_Ps },
493    { 722, PT_SC, ucp_Rejang },    { 722, PT_SC, ucp_Rejang },
494    { 729, PT_SC, ucp_Runic },    { 729, PT_SC, ucp_Runic },
495    { 735, PT_GC, ucp_S },    { 735, PT_GC, ucp_S },
496    { 737, PT_SC, ucp_Samaritan },    { 737, PT_SC, ucp_Samaritan },
497    { 747, PT_SC, ucp_Saurashtra },    { 747, PT_SC, ucp_Saurashtra },
498    { 758, PT_PC, ucp_Sc },    { 758, PT_PC, ucp_Sc },
499    { 761, PT_SC, ucp_Shavian },    { 761, PT_SC, ucp_Shavian },
500    { 769, PT_SC, ucp_Sinhala },    { 769, PT_SC, ucp_Sinhala },
501    { 777, PT_PC, ucp_Sk },    { 777, PT_PC, ucp_Sk },
502    { 780, PT_PC, ucp_Sm },    { 780, PT_PC, ucp_Sm },
503    { 783, PT_PC, ucp_So },    { 783, PT_PC, ucp_So },
504    { 786, PT_SC, ucp_Sundanese },    { 786, PT_SC, ucp_Sundanese },
505    { 796, PT_SC, ucp_Syloti_Nagri },    { 796, PT_SC, ucp_Syloti_Nagri },
506    { 809, PT_SC, ucp_Syriac },    { 809, PT_SC, ucp_Syriac },
507    { 816, PT_SC, ucp_Tagalog },    { 816, PT_SC, ucp_Tagalog },
508    { 824, PT_SC, ucp_Tagbanwa },    { 824, PT_SC, ucp_Tagbanwa },
509    { 833, PT_SC, ucp_Tai_Le },    { 833, PT_SC, ucp_Tai_Le },
510    { 840, PT_SC, ucp_Tai_Tham },    { 840, PT_SC, ucp_Tai_Tham },
511    { 849, PT_SC, ucp_Tai_Viet },    { 849, PT_SC, ucp_Tai_Viet },
512    { 858, PT_SC, ucp_Tamil },    { 858, PT_SC, ucp_Tamil },
513    { 864, PT_SC, ucp_Telugu },    { 864, PT_SC, ucp_Telugu },
514    { 871, PT_SC, ucp_Thaana },    { 871, PT_SC, ucp_Thaana },
515    { 878, PT_SC, ucp_Thai },    { 878, PT_SC, ucp_Thai },
516    { 883, PT_SC, ucp_Tibetan },    { 883, PT_SC, ucp_Tibetan },
517    { 891, PT_SC, ucp_Tifinagh },    { 891, PT_SC, ucp_Tifinagh },
518    { 900, PT_SC, ucp_Ugaritic },    { 900, PT_SC, ucp_Ugaritic },
519    { 909, PT_SC, ucp_Vai },    { 909, PT_SC, ucp_Vai },
520    { 913, PT_SC, ucp_Yi },    { 913, PT_ALNUM, 0 },
521    { 916, PT_GC, ucp_Z },    { 917, PT_PXSPACE, 0 },
522    { 918, PT_PC, ucp_Zl },    { 921, PT_SPACE, 0 },
523    { 921, PT_PC, ucp_Zp },    { 925, PT_WORD, 0 },
524    { 924, PT_PC, ucp_Zs }    { 929, PT_SC, ucp_Yi },
525      { 932, PT_GC, ucp_Z },
526      { 934, PT_PC, ucp_Zl },
527      { 937, PT_PC, ucp_Zp },
528      { 940, PT_PC, ucp_Zs }
529  };  };
530    
531  const int _pcre_utt_size = sizeof(_pcre_utt)/sizeof(ucp_type_table);  const int _pcre_utt_size = sizeof(_pcre_utt)/sizeof(ucp_type_table);

Legend:
Removed from v.491  
changed lines
  Added in v.517

  ViewVC Help
Powered by ViewVC 1.1.5