OLD | NEW |
1 // Generated by running | 1 // Generated by running |
2 // maketables --tables=all --data=http://www.unicode.org/Public/5.2.0/ucd/U
nicodeData.txt | 2 // maketables --tables=all --data=http://www.unicode.org/Public/5.2.0/ucd/U
nicodeData.txt |
3 // DO NOT EDIT | 3 // DO NOT EDIT |
4 | 4 |
5 package unicode | 5 package unicode |
6 | 6 |
7 // Version is the Unicode edition from which the tables are derived. | 7 // Version is the Unicode edition from which the tables are derived. |
8 const Version = "5.2.0" | 8 const Version = "5.2.0" |
9 | 9 |
10 // Categories is the set of Unicode data tables. | 10 // Categories is the set of Unicode data tables. |
11 var Categories = map[string][]Range{ | 11 var Categories = map[string][]Range{ |
12 » "Lm": Lm, | 12 » "Lm": Lm, |
13 » "Ll": Ll, | 13 » "Ll": Ll, |
14 » "Me": Me, | 14 » "Me": Me, |
15 » "Mc": Mc, | 15 » "Mc": Mc, |
16 » "Mn": Mn, | 16 » "Mn": Mn, |
17 » "Zl": Zl, | 17 » "Zl": Zl, |
18 "letter": letter, | 18 "letter": letter, |
19 » "Zp": Zp, | 19 » "Zp": Zp, |
20 » "Zs": Zs, | 20 » "Zs": Zs, |
21 » "Cs": Cs, | 21 » "Cs": Cs, |
22 » "Co": Co, | 22 » "Co": Co, |
23 » "Cf": Cf, | 23 » "Cf": Cf, |
24 » "Cc": Cc, | 24 » "Cc": Cc, |
25 » "Po": Po, | 25 » "Po": Po, |
26 » "Pi": Pi, | 26 » "Pi": Pi, |
27 » "Pf": Pf, | 27 » "Pf": Pf, |
28 » "Pe": Pe, | 28 » "Pe": Pe, |
29 » "Pd": Pd, | 29 » "Pd": Pd, |
30 » "Pc": Pc, | 30 » "Pc": Pc, |
31 » "Ps": Ps, | 31 » "Ps": Ps, |
32 » "Nd": Nd, | 32 » "Nd": Nd, |
33 » "Nl": Nl, | 33 » "Nl": Nl, |
34 » "No": No, | 34 » "No": No, |
35 » "So": So, | 35 » "So": So, |
36 » "Sm": Sm, | 36 » "Sm": Sm, |
37 » "Sk": Sk, | 37 » "Sk": Sk, |
38 » "Sc": Sc, | 38 » "Sc": Sc, |
39 » "Lu": Lu, | 39 » "Lu": Lu, |
40 » "Lt": Lt, | 40 » "Lt": Lt, |
41 » "Lo": Lo, | 41 » "Lo": Lo, |
42 } | 42 } |
43 | 43 |
44 var _Lm = []Range{ | 44 var _Lm = []Range{ |
45 Range{0x02b0, 0x02c1, 1}, | 45 Range{0x02b0, 0x02c1, 1}, |
46 Range{0x02c6, 0x02d1, 1}, | 46 Range{0x02c6, 0x02d1, 1}, |
47 Range{0x02e0, 0x02e4, 1}, | 47 Range{0x02e0, 0x02e4, 1}, |
48 Range{0x02ec, 0x02ee, 2}, | 48 Range{0x02ec, 0x02ee, 2}, |
49 Range{0x0374, 0x037a, 6}, | 49 Range{0x0374, 0x037a, 6}, |
50 Range{0x0559, 0x0640, 231}, | 50 Range{0x0559, 0x0640, 231}, |
51 Range{0x06e5, 0x06e6, 1}, | 51 Range{0x06e5, 0x06e6, 1}, |
(...skipping 1904 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1956 Zp = _Zp // Zp is the set of Unicode characters in category Zp. | 1956 Zp = _Zp // Zp is the set of Unicode characters in category Zp. |
1957 Zs = _Zs // Zs is the set of Unicode characters in category Zs. | 1957 Zs = _Zs // Zs is the set of Unicode characters in category Zs. |
1958 ) | 1958 ) |
1959 | 1959 |
1960 // Generated by running | 1960 // Generated by running |
1961 // maketables --scripts=all --url=http://www.unicode.org/Public/5.2.0/ucd/ | 1961 // maketables --scripts=all --url=http://www.unicode.org/Public/5.2.0/ucd/ |
1962 // DO NOT EDIT | 1962 // DO NOT EDIT |
1963 | 1963 |
1964 // Scripts is the set of Unicode script tables. | 1964 // Scripts is the set of Unicode script tables. |
1965 var Scripts = map[string][]Range{ | 1965 var Scripts = map[string][]Range{ |
1966 » "Katakana": Katakana, | 1966 » "Katakana": Katakana, |
1967 » "Malayalam": Malayalam, | 1967 » "Malayalam": Malayalam, |
1968 » "Phags_Pa": Phags_Pa, | 1968 » "Phags_Pa": Phags_Pa, |
1969 "Inscriptional_Parthian": Inscriptional_Parthian, | 1969 "Inscriptional_Parthian": Inscriptional_Parthian, |
1970 » "Latin": Latin, | 1970 » "Latin": Latin, |
1971 » "Inscriptional_Pahlavi": Inscriptional_Pahlavi, | 1971 » "Inscriptional_Pahlavi": Inscriptional_Pahlavi, |
1972 » "Osmanya": Osmanya, | 1972 » "Osmanya": Osmanya, |
1973 » "Khmer": Khmer, | 1973 » "Khmer": Khmer, |
1974 » "Inherited": Inherited, | 1974 » "Inherited": Inherited, |
1975 » "Telugu": Telugu, | 1975 » "Telugu": Telugu, |
1976 » "Samaritan": Samaritan, | 1976 » "Samaritan": Samaritan, |
1977 » "Bopomofo": Bopomofo, | 1977 » "Bopomofo": Bopomofo, |
1978 » "Imperial_Aramaic": Imperial_Aramaic, | 1978 » "Imperial_Aramaic": Imperial_Aramaic, |
1979 » "Kaithi": Kaithi, | 1979 » "Kaithi": Kaithi, |
1980 » "Old_South_Arabian": Old_South_Arabian, | 1980 » "Old_South_Arabian": Old_South_Arabian, |
1981 » "Kayah_Li": Kayah_Li, | 1981 » "Kayah_Li": Kayah_Li, |
1982 » "New_Tai_Lue": New_Tai_Lue, | 1982 » "New_Tai_Lue": New_Tai_Lue, |
1983 » "Tai_Le": Tai_Le, | 1983 » "Tai_Le": Tai_Le, |
1984 » "Kharoshthi": Kharoshthi, | 1984 » "Kharoshthi": Kharoshthi, |
1985 » "Common": Common, | 1985 » "Common": Common, |
1986 » "Kannada": Kannada, | 1986 » "Kannada": Kannada, |
1987 » "Old_Turkic": Old_Turkic, | 1987 » "Old_Turkic": Old_Turkic, |
1988 » "Tamil": Tamil, | 1988 » "Tamil": Tamil, |
1989 » "Tagalog": Tagalog, | 1989 » "Tagalog": Tagalog, |
1990 » "Arabic": Arabic, | 1990 » "Arabic": Arabic, |
1991 » "Tagbanwa": Tagbanwa, | 1991 » "Tagbanwa": Tagbanwa, |
1992 » "Canadian_Aboriginal": Canadian_Aboriginal, | 1992 » "Canadian_Aboriginal": Canadian_Aboriginal, |
1993 » "Tibetan": Tibetan, | 1993 » "Tibetan": Tibetan, |
1994 » "Coptic": Coptic, | 1994 » "Coptic": Coptic, |
1995 » "Hiragana": Hiragana, | 1995 » "Hiragana": Hiragana, |
1996 » "Limbu": Limbu, | 1996 » "Limbu": Limbu, |
1997 » "Egyptian_Hieroglyphs": Egyptian_Hieroglyphs, | 1997 » "Egyptian_Hieroglyphs": Egyptian_Hieroglyphs, |
1998 » "Avestan": Avestan, | 1998 » "Avestan": Avestan, |
1999 » "Myanmar": Myanmar, | 1999 » "Myanmar": Myanmar, |
2000 » "Armenian": Armenian, | 2000 » "Armenian": Armenian, |
2001 » "Sinhala": Sinhala, | 2001 » "Sinhala": Sinhala, |
2002 » "Bengali": Bengali, | 2002 » "Bengali": Bengali, |
2003 » "Greek": Greek, | 2003 » "Greek": Greek, |
2004 » "Cham": Cham, | 2004 » "Cham": Cham, |
2005 » "Hebrew": Hebrew, | 2005 » "Hebrew": Hebrew, |
2006 » "Meetei_Mayek": Meetei_Mayek, | 2006 » "Meetei_Mayek": Meetei_Mayek, |
2007 » "Saurashtra": Saurashtra, | 2007 » "Saurashtra": Saurashtra, |
2008 » "Hangul": Hangul, | 2008 » "Hangul": Hangul, |
2009 » "Runic": Runic, | 2009 » "Runic": Runic, |
2010 » "Deseret": Deseret, | 2010 » "Deseret": Deseret, |
2011 » "Lisu": Lisu, | 2011 » "Lisu": Lisu, |
2012 » "Sundanese": Sundanese, | 2012 » "Sundanese": Sundanese, |
2013 » "Glagolitic": Glagolitic, | 2013 » "Glagolitic": Glagolitic, |
2014 » "Oriya": Oriya, | 2014 » "Oriya": Oriya, |
2015 » "Buhid": Buhid, | 2015 » "Buhid": Buhid, |
2016 » "Ethiopic": Ethiopic, | 2016 » "Ethiopic": Ethiopic, |
2017 » "Javanese": Javanese, | 2017 » "Javanese": Javanese, |
2018 » "Syloti_Nagri": Syloti_Nagri, | 2018 » "Syloti_Nagri": Syloti_Nagri, |
2019 » "Vai": Vai, | 2019 » "Vai": Vai, |
2020 » "Cherokee": Cherokee, | 2020 » "Cherokee": Cherokee, |
2021 » "Ogham": Ogham, | 2021 » "Ogham": Ogham, |
2022 » "Syriac": Syriac, | 2022 » "Syriac": Syriac, |
2023 » "Gurmukhi": Gurmukhi, | 2023 » "Gurmukhi": Gurmukhi, |
2024 » "Tai_Tham": Tai_Tham, | 2024 » "Tai_Tham": Tai_Tham, |
2025 » "Ol_Chiki": Ol_Chiki, | 2025 » "Ol_Chiki": Ol_Chiki, |
2026 » "Mongolian": Mongolian, | 2026 » "Mongolian": Mongolian, |
2027 » "Hanunoo": Hanunoo, | 2027 » "Hanunoo": Hanunoo, |
2028 » "Cypriot": Cypriot, | 2028 » "Cypriot": Cypriot, |
2029 » "Buginese": Buginese, | 2029 » "Buginese": Buginese, |
2030 » "Bamum": Bamum, | 2030 » "Bamum": Bamum, |
2031 » "Lepcha": Lepcha, | 2031 » "Lepcha": Lepcha, |
2032 » "Thaana": Thaana, | 2032 » "Thaana": Thaana, |
2033 » "Old_Persian": Old_Persian, | 2033 » "Old_Persian": Old_Persian, |
2034 » "Cuneiform": Cuneiform, | 2034 » "Cuneiform": Cuneiform, |
2035 » "Rejang": Rejang, | 2035 » "Rejang": Rejang, |
2036 » "Georgian": Georgian, | 2036 » "Georgian": Georgian, |
2037 » "Shavian": Shavian, | 2037 » "Shavian": Shavian, |
2038 » "Lycian": Lycian, | 2038 » "Lycian": Lycian, |
2039 » "Nko": Nko, | 2039 » "Nko": Nko, |
2040 » "Yi": Yi, | 2040 » "Yi": Yi, |
2041 » "Lao": Lao, | 2041 » "Lao": Lao, |
2042 » "Linear_B": Linear_B, | 2042 » "Linear_B": Linear_B, |
2043 » "Old_Italic": Old_Italic, | 2043 » "Old_Italic": Old_Italic, |
2044 » "Tai_Viet": Tai_Viet, | 2044 » "Tai_Viet": Tai_Viet, |
2045 » "Devanagari": Devanagari, | 2045 » "Devanagari": Devanagari, |
2046 » "Lydian": Lydian, | 2046 » "Lydian": Lydian, |
2047 » "Tifinagh": Tifinagh, | 2047 » "Tifinagh": Tifinagh, |
2048 » "Ugaritic": Ugaritic, | 2048 » "Ugaritic": Ugaritic, |
2049 » "Thai": Thai, | 2049 » "Thai": Thai, |
2050 » "Cyrillic": Cyrillic, | 2050 » "Cyrillic": Cyrillic, |
2051 » "Gujarati": Gujarati, | 2051 » "Gujarati": Gujarati, |
2052 » "Carian": Carian, | 2052 » "Carian": Carian, |
2053 » "Phoenician": Phoenician, | 2053 » "Phoenician": Phoenician, |
2054 » "Balinese": Balinese, | 2054 » "Balinese": Balinese, |
2055 » "Braille": Braille, | 2055 » "Braille": Braille, |
2056 » "Han": Han, | 2056 » "Han": Han, |
2057 » "Gothic": Gothic, | 2057 » "Gothic": Gothic, |
2058 } | 2058 } |
2059 | 2059 |
2060 var _Katakana = []Range{ | 2060 var _Katakana = []Range{ |
2061 Range{0x30a1, 0x30fa, 1}, | 2061 Range{0x30a1, 0x30fa, 1}, |
2062 Range{0x30fd, 0x30ff, 1}, | 2062 Range{0x30fd, 0x30ff, 1}, |
2063 Range{0x31f0, 0x31ff, 1}, | 2063 Range{0x31f0, 0x31ff, 1}, |
2064 Range{0x32d0, 0x32fe, 1}, | 2064 Range{0x32d0, 0x32fe, 1}, |
2065 Range{0x3300, 0x3357, 1}, | 2065 Range{0x3300, 0x3357, 1}, |
2066 Range{0xff66, 0xff6f, 1}, | 2066 Range{0xff66, 0xff6f, 1}, |
2067 Range{0xff71, 0xff9d, 1}, | 2067 Range{0xff71, 0xff9d, 1}, |
(...skipping 1015 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3083 Vai = _Vai // Vai is the set of Un
icode characters in script Vai. | 3083 Vai = _Vai // Vai is the set of Un
icode characters in script Vai. |
3084 Yi = _Yi // Yi is the set of Uni
code characters in script Yi. | 3084 Yi = _Yi // Yi is the set of Uni
code characters in script Yi. |
3085 ) | 3085 ) |
3086 | 3086 |
3087 // Generated by running | 3087 // Generated by running |
3088 // maketables --props=all --url=http://www.unicode.org/Public/5.2.0/ucd/ | 3088 // maketables --props=all --url=http://www.unicode.org/Public/5.2.0/ucd/ |
3089 // DO NOT EDIT | 3089 // DO NOT EDIT |
3090 | 3090 |
3091 // Properties is the set of Unicode property tables. | 3091 // Properties is the set of Unicode property tables. |
3092 var Properties = map[string][]Range{ | 3092 var Properties = map[string][]Range{ |
3093 » "Pattern_Syntax": Pattern_Syntax, | 3093 » "Pattern_Syntax": Pattern_Syntax, |
3094 » "Other_ID_Start": Other_ID_Start, | 3094 » "Other_ID_Start": Other_ID_Start, |
3095 » "Pattern_White_Space": Pattern_White_Space, | 3095 » "Pattern_White_Space": Pattern_White_Space, |
3096 » "Other_Lowercase": Other_Lowercase, | 3096 » "Other_Lowercase": Other_Lowercase, |
3097 » "Soft_Dotted": Soft_Dotted, | 3097 » "Soft_Dotted": Soft_Dotted, |
3098 » "Hex_Digit": Hex_Digit, | 3098 » "Hex_Digit": Hex_Digit, |
3099 » "ASCII_Hex_Digit": ASCII_Hex_Digit, | 3099 » "ASCII_Hex_Digit": ASCII_Hex_Digit, |
3100 » "Deprecated": Deprecated, | 3100 » "Deprecated": Deprecated, |
3101 » "Terminal_Punctuation": Terminal_Punctuation, | 3101 » "Terminal_Punctuation": Terminal_Punctuation, |
3102 » "Quotation_Mark": Quotation_Mark, | 3102 » "Quotation_Mark": Quotation_Mark, |
3103 » "Other_ID_Continue": Other_ID_Continue, | 3103 » "Other_ID_Continue": Other_ID_Continue, |
3104 » "Bidi_Control": Bidi_Control, | 3104 » "Bidi_Control": Bidi_Control, |
3105 » "Variation_Selector": Variation_Selector, | 3105 » "Variation_Selector": Variation_Selector, |
3106 "Noncharacter_Code_Point": Noncharacter_Code_Point, | 3106 "Noncharacter_Code_Point": Noncharacter_Code_Point, |
3107 » "Other_Math": Other_Math, | 3107 » "Other_Math": Other_Math, |
3108 » "Unified_Ideograph": Unified_Ideograph, | 3108 » "Unified_Ideograph": Unified_Ideograph, |
3109 » "Hyphen": Hyphen, | 3109 » "Hyphen": Hyphen, |
3110 » "IDS_Binary_Operator": IDS_Binary_Operator, | 3110 » "IDS_Binary_Operator": IDS_Binary_Operator, |
3111 "Logical_Order_Exception": Logical_Order_Exception, | 3111 "Logical_Order_Exception": Logical_Order_Exception, |
3112 » "Radical": Radical, | 3112 » "Radical": Radical, |
3113 » "Other_Uppercase": Other_Uppercase, | 3113 » "Other_Uppercase": Other_Uppercase, |
3114 » "STerm": STerm, | 3114 » "STerm": STerm, |
3115 » "Other_Alphabetic": Other_Alphabetic, | 3115 » "Other_Alphabetic": Other_Alphabetic, |
3116 » "Diacritic": Diacritic, | 3116 » "Diacritic": Diacritic, |
3117 » "Extender": Extender, | 3117 » "Extender": Extender, |
3118 » "Join_Control": Join_Control, | 3118 » "Join_Control": Join_Control, |
3119 » "Ideographic": Ideographic, | 3119 » "Ideographic": Ideographic, |
3120 » "Dash": Dash, | 3120 » "Dash": Dash, |
3121 » "IDS_Trinary_Operator": IDS_Trinary_Operator, | 3121 » "IDS_Trinary_Operator": IDS_Trinary_Operator, |
3122 » "Other_Grapheme_Extend": Other_Grapheme_Extend, | 3122 » "Other_Grapheme_Extend": Other_Grapheme_Extend, |
3123 "Other_Default_Ignorable_Code_Point": Other_Default_Ignorable_Code_Point
, | 3123 "Other_Default_Ignorable_Code_Point": Other_Default_Ignorable_Code_Point
, |
3124 "White_Space": White_Space, | 3124 "White_Space": White_Space, |
3125 } | 3125 } |
3126 | 3126 |
3127 var _Pattern_Syntax = []Range{ | 3127 var _Pattern_Syntax = []Range{ |
3128 Range{0x0021, 0x002f, 1}, | 3128 Range{0x0021, 0x002f, 1}, |
3129 Range{0x003a, 0x0040, 1}, | 3129 Range{0x003a, 0x0040, 1}, |
3130 Range{0x005b, 0x005e, 1}, | 3130 Range{0x005b, 0x005e, 1}, |
3131 Range{0x0060, 0x0060, 1}, | 3131 Range{0x0060, 0x0060, 1}, |
3132 Range{0x007b, 0x007e, 1}, | 3132 Range{0x007b, 0x007e, 1}, |
(...skipping 1096 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4229 CaseRange{0xA732, 0xA76F, d{UpperLower, UpperLower, UpperLower}}, | 4229 CaseRange{0xA732, 0xA76F, d{UpperLower, UpperLower, UpperLower}}, |
4230 CaseRange{0xA779, 0xA77C, d{UpperLower, UpperLower, UpperLower}}, | 4230 CaseRange{0xA779, 0xA77C, d{UpperLower, UpperLower, UpperLower}}, |
4231 CaseRange{0xA77D, 0xA77D, d{0, -35332, 0}}, | 4231 CaseRange{0xA77D, 0xA77D, d{0, -35332, 0}}, |
4232 CaseRange{0xA77E, 0xA787, d{UpperLower, UpperLower, UpperLower}}, | 4232 CaseRange{0xA77E, 0xA787, d{UpperLower, UpperLower, UpperLower}}, |
4233 CaseRange{0xA78B, 0xA78C, d{UpperLower, UpperLower, UpperLower}}, | 4233 CaseRange{0xA78B, 0xA78C, d{UpperLower, UpperLower, UpperLower}}, |
4234 CaseRange{0xFF21, 0xFF3A, d{0, 32, 0}}, | 4234 CaseRange{0xFF21, 0xFF3A, d{0, 32, 0}}, |
4235 CaseRange{0xFF41, 0xFF5A, d{-32, 0, -32}}, | 4235 CaseRange{0xFF41, 0xFF5A, d{-32, 0, -32}}, |
4236 CaseRange{0x10400, 0x10427, d{0, 40, 0}}, | 4236 CaseRange{0x10400, 0x10427, d{0, 40, 0}}, |
4237 CaseRange{0x10428, 0x1044F, d{-40, 0, -40}}, | 4237 CaseRange{0x10428, 0x1044F, d{-40, 0, -40}}, |
4238 } | 4238 } |
OLD | NEW |