/*************************************************1* Perl-Compatible Regular Expressions *2*************************************************/34/* PCRE is a library of functions to support regular expressions whose syntax5and semantics are as close as possible to those of the Perl 5 language.67Written by Philip Hazel8Original API code Copyright (c) 1997-2012 University of Cambridge9New API code Copyright (c) 2016-2022 University of Cambridge1011This module is auto-generated from Unicode data files. DO NOT EDIT MANUALLY!12Instead, modify the maint/GenerateUcpHeader.py script and run it to generate13a new version of this code.1415-----------------------------------------------------------------------------16Redistribution and use in source and binary forms, with or without17modification, are permitted provided that the following conditions are met:1819* Redistributions of source code must retain the above copyright notice,20this list of conditions and the following disclaimer.2122* Redistributions in binary form must reproduce the above copyright23notice, this list of conditions and the following disclaimer in the24documentation and/or other materials provided with the distribution.2526* Neither the name of the University of Cambridge nor the names of its27contributors may be used to endorse or promote products derived from28this software without specific prior written permission.2930THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"31AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE32IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE33ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE34LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR35CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF36SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS37INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN38CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)39ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE40POSSIBILITY OF SUCH DAMAGE.41-----------------------------------------------------------------------------42*/4344#ifndef PCRE2_UCP_H_IDEMPOTENT_GUARD45#define PCRE2_UCP_H_IDEMPOTENT_GUARD4647/* This file contains definitions of the Unicode property values that are48returned by the UCD access macros and used throughout PCRE2.4950IMPORTANT: The specific values of the first two enums (general and particular51character categories) are assumed by the table called catposstab in the file52pcre2_auto_possess.c. They are unlikely to change, but should be checked after53an update. */5455/* These are the general character categories. */5657enum {58ucp_C,59ucp_L,60ucp_M,61ucp_N,62ucp_P,63ucp_S,64ucp_Z,65};6667/* These are the particular character categories. */6869enum {70ucp_Cc, /* Control */71ucp_Cf, /* Format */72ucp_Cn, /* Unassigned */73ucp_Co, /* Private use */74ucp_Cs, /* Surrogate */75ucp_Ll, /* Lower case letter */76ucp_Lm, /* Modifier letter */77ucp_Lo, /* Other letter */78ucp_Lt, /* Title case letter */79ucp_Lu, /* Upper case letter */80ucp_Mc, /* Spacing mark */81ucp_Me, /* Enclosing mark */82ucp_Mn, /* Non-spacing mark */83ucp_Nd, /* Decimal number */84ucp_Nl, /* Letter number */85ucp_No, /* Other number */86ucp_Pc, /* Connector punctuation */87ucp_Pd, /* Dash punctuation */88ucp_Pe, /* Close punctuation */89ucp_Pf, /* Final punctuation */90ucp_Pi, /* Initial punctuation */91ucp_Po, /* Other punctuation */92ucp_Ps, /* Open punctuation */93ucp_Sc, /* Currency symbol */94ucp_Sk, /* Modifier symbol */95ucp_Sm, /* Mathematical symbol */96ucp_So, /* Other symbol */97ucp_Zl, /* Line separator */98ucp_Zp, /* Paragraph separator */99ucp_Zs, /* Space separator */100};101102/* These are Boolean properties. */103104enum {105ucp_ASCII,106ucp_ASCII_Hex_Digit,107ucp_Alphabetic,108ucp_Bidi_Control,109ucp_Bidi_Mirrored,110ucp_Case_Ignorable,111ucp_Cased,112ucp_Changes_When_Casefolded,113ucp_Changes_When_Casemapped,114ucp_Changes_When_Lowercased,115ucp_Changes_When_Titlecased,116ucp_Changes_When_Uppercased,117ucp_Dash,118ucp_Default_Ignorable_Code_Point,119ucp_Deprecated,120ucp_Diacritic,121ucp_Emoji,122ucp_Emoji_Component,123ucp_Emoji_Modifier,124ucp_Emoji_Modifier_Base,125ucp_Emoji_Presentation,126ucp_Extended_Pictographic,127ucp_Extender,128ucp_Grapheme_Base,129ucp_Grapheme_Extend,130ucp_Grapheme_Link,131ucp_Hex_Digit,132ucp_IDS_Binary_Operator,133ucp_IDS_Trinary_Operator,134ucp_IDS_Unary_Operator,135ucp_ID_Compat_Math_Continue,136ucp_ID_Compat_Math_Start,137ucp_ID_Continue,138ucp_ID_Start,139ucp_Ideographic,140ucp_InCB,141ucp_Join_Control,142ucp_Logical_Order_Exception,143ucp_Lowercase,144ucp_Math,145ucp_Modifier_Combining_Mark,146ucp_Noncharacter_Code_Point,147ucp_Pattern_Syntax,148ucp_Pattern_White_Space,149ucp_Prepended_Concatenation_Mark,150ucp_Quotation_Mark,151ucp_Radical,152ucp_Regional_Indicator,153ucp_Sentence_Terminal,154ucp_Soft_Dotted,155ucp_Terminal_Punctuation,156ucp_Unified_Ideograph,157ucp_Uppercase,158ucp_Variation_Selector,159ucp_White_Space,160ucp_XID_Continue,161ucp_XID_Start,162/* This must be last */163ucp_Bprop_Count164};165166/* Size of entries in ucd_boolprop_sets[] */167168#define ucd_boolprop_sets_item_size 2169170/* These are the bidi class values. */171172enum {173ucp_bidiAL, /* Arabic_Letter */174ucp_bidiAN, /* Arabic_Number */175ucp_bidiB, /* Paragraph_Separator */176ucp_bidiBN, /* Boundary_Neutral */177ucp_bidiCS, /* Common_Separator */178ucp_bidiEN, /* European_Number */179ucp_bidiES, /* European_Separator */180ucp_bidiET, /* European_Terminator */181ucp_bidiFSI, /* First_Strong_Isolate */182ucp_bidiL, /* Left_To_Right */183ucp_bidiLRE, /* Left_To_Right_Embedding */184ucp_bidiLRI, /* Left_To_Right_Isolate */185ucp_bidiLRO, /* Left_To_Right_Override */186ucp_bidiNSM, /* Nonspacing_Mark */187ucp_bidiON, /* Other_Neutral */188ucp_bidiPDF, /* Pop_Directional_Format */189ucp_bidiPDI, /* Pop_Directional_Isolate */190ucp_bidiR, /* Right_To_Left */191ucp_bidiRLE, /* Right_To_Left_Embedding */192ucp_bidiRLI, /* Right_To_Left_Isolate */193ucp_bidiRLO, /* Right_To_Left_Override */194ucp_bidiS, /* Segment_Separator */195ucp_bidiWS, /* White_Space */196};197198/* These are grapheme break properties. The Extended Pictographic property199comes from the emoji-data.txt file. */200201enum {202ucp_gbCR, /* 0 */203ucp_gbLF, /* 1 */204ucp_gbControl, /* 2 */205ucp_gbExtend, /* 3 */206ucp_gbPrepend, /* 4 */207ucp_gbSpacingMark, /* 5 */208ucp_gbL, /* 6 Hangul syllable type L */209ucp_gbV, /* 7 Hangul syllable type V */210ucp_gbT, /* 8 Hangul syllable type T */211ucp_gbLV, /* 9 Hangul syllable type LV */212ucp_gbLVT, /* 10 Hangul syllable type LVT */213ucp_gbRegional_Indicator, /* 11 */214ucp_gbOther, /* 12 */215ucp_gbZWJ, /* 13 */216ucp_gbExtended_Pictographic, /* 14 */217};218219/* These are the script identifications. */220221enum {222/* Scripts which has characters in other scripts. */223ucp_Latin,224ucp_Greek,225ucp_Cyrillic,226ucp_Armenian,227ucp_Hebrew,228ucp_Arabic,229ucp_Syriac,230ucp_Thaana,231ucp_Devanagari,232ucp_Bengali,233ucp_Gurmukhi,234ucp_Gujarati,235ucp_Oriya,236ucp_Tamil,237ucp_Telugu,238ucp_Kannada,239ucp_Malayalam,240ucp_Sinhala,241ucp_Thai,242ucp_Tibetan,243ucp_Myanmar,244ucp_Georgian,245ucp_Hangul,246ucp_Ethiopic,247ucp_Cherokee,248ucp_Runic,249ucp_Mongolian,250ucp_Hiragana,251ucp_Katakana,252ucp_Bopomofo,253ucp_Han,254ucp_Yi,255ucp_Gothic,256ucp_Tagalog,257ucp_Hanunoo,258ucp_Buhid,259ucp_Tagbanwa,260ucp_Limbu,261ucp_Tai_Le,262ucp_Linear_B,263ucp_Shavian,264ucp_Cypriot,265ucp_Buginese,266ucp_Coptic,267ucp_Glagolitic,268ucp_Tifinagh,269ucp_Syloti_Nagri,270ucp_Phags_Pa,271ucp_Nko,272ucp_Kayah_Li,273ucp_Lycian,274ucp_Carian,275ucp_Lydian,276ucp_Avestan,277ucp_Samaritan,278ucp_Lisu,279ucp_Javanese,280ucp_Old_Turkic,281ucp_Kaithi,282ucp_Mandaic,283ucp_Chakma,284ucp_Meroitic_Hieroglyphs,285ucp_Sharada,286ucp_Takri,287ucp_Caucasian_Albanian,288ucp_Duployan,289ucp_Elbasan,290ucp_Grantha,291ucp_Khojki,292ucp_Linear_A,293ucp_Mahajani,294ucp_Manichaean,295ucp_Modi,296ucp_Old_Permic,297ucp_Psalter_Pahlavi,298ucp_Khudawadi,299ucp_Tirhuta,300ucp_Multani,301ucp_Old_Hungarian,302ucp_Adlam,303ucp_Osage,304ucp_Tangut,305ucp_Masaram_Gondi,306ucp_Dogra,307ucp_Gunjala_Gondi,308ucp_Hanifi_Rohingya,309ucp_Sogdian,310ucp_Nandinagari,311ucp_Yezidi,312ucp_Cypro_Minoan,313ucp_Old_Uyghur,314ucp_Toto,315ucp_Garay,316ucp_Gurung_Khema,317ucp_Ol_Onal,318ucp_Sunuwar,319ucp_Todhri,320ucp_Tulu_Tigalari,321322/* Scripts which has no characters in other scripts. */323ucp_Unknown,324ucp_Common,325ucp_Lao,326ucp_Canadian_Aboriginal,327ucp_Ogham,328ucp_Khmer,329ucp_Old_Italic,330ucp_Deseret,331ucp_Inherited,332ucp_Ugaritic,333ucp_Osmanya,334ucp_Braille,335ucp_New_Tai_Lue,336ucp_Old_Persian,337ucp_Kharoshthi,338ucp_Balinese,339ucp_Cuneiform,340ucp_Phoenician,341ucp_Sundanese,342ucp_Lepcha,343ucp_Ol_Chiki,344ucp_Vai,345ucp_Saurashtra,346ucp_Rejang,347ucp_Cham,348ucp_Tai_Tham,349ucp_Tai_Viet,350ucp_Egyptian_Hieroglyphs,351ucp_Bamum,352ucp_Meetei_Mayek,353ucp_Imperial_Aramaic,354ucp_Old_South_Arabian,355ucp_Inscriptional_Parthian,356ucp_Inscriptional_Pahlavi,357ucp_Batak,358ucp_Brahmi,359ucp_Meroitic_Cursive,360ucp_Miao,361ucp_Sora_Sompeng,362ucp_Bassa_Vah,363ucp_Pahawh_Hmong,364ucp_Mende_Kikakui,365ucp_Mro,366ucp_Old_North_Arabian,367ucp_Nabataean,368ucp_Palmyrene,369ucp_Pau_Cin_Hau,370ucp_Siddham,371ucp_Warang_Citi,372ucp_Ahom,373ucp_Anatolian_Hieroglyphs,374ucp_Hatran,375ucp_SignWriting,376ucp_Bhaiksuki,377ucp_Marchen,378ucp_Newa,379ucp_Nushu,380ucp_Soyombo,381ucp_Zanabazar_Square,382ucp_Makasar,383ucp_Medefaidrin,384ucp_Old_Sogdian,385ucp_Elymaic,386ucp_Nyiakeng_Puachue_Hmong,387ucp_Wancho,388ucp_Chorasmian,389ucp_Dives_Akuru,390ucp_Khitan_Small_Script,391ucp_Tangsa,392ucp_Vithkuqi,393ucp_Kawi,394ucp_Nag_Mundari,395ucp_Kirat_Rai,396397/* This must be last */398ucp_Script_Count399};400401/* Size of entries in ucd_script_sets[] */402403#define ucd_script_sets_item_size 4404405#endif /* PCRE2_UCP_H_IDEMPOTENT_GUARD */406407/* End of pcre2_ucp.h */408409410