[前][次][番号順一覧][スレッド一覧]

ruby-changes:55232

From: duerst <ko1@a...>
Date: Fri, 5 Apr 2019 08:40:53 +0900 (JST)
Subject: [ruby-changes:55232] duerst:r67439 (trunk): change lib/unicode_normalize/tables.rb to single item per line to make diffs shorter

duerst	2019-04-05 08:40:48 +0900 (Fri, 05 Apr 2019)

  New Revision: 67439

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=67439

  Log:
    change lib/unicode_normalize/tables.rb to single item per line to make diffs shorter
    
    * template/unicode_norm_gen.tmpl: Change formatting of output to produce only a
      single item (or range) for each line to make future diffs shorter and easier
      to understand and check.
    
    * lib/unicode_normalize/tables.rb: output of the above

  Modified files:
    trunk/lib/unicode_normalize/tables.rb
    trunk/template/unicode_norm_gen.tmpl
Index: lib/unicode_normalize/tables.rb
===================================================================
--- lib/unicode_normalize/tables.rb	(revision 67438)
+++ lib/unicode_normalize/tables.rb	(revision 67439)
@@ -5,1171 +5,9035 @@ https://github.com/ruby/ruby/blob/trunk/lib/unicode_normalize/tables.rb#L5
 
 module UnicodeNormalize  # :nodoc:
   accents = "" \
-    "[\u0300-\u034E\u0350-\u036F\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7" \
-    "\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711" \
-    "\u0730-\u074A\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B" \
-    "\u08D3-\u08E1\u08E3-\u08FF\u093C\u094D\u0951-\u0954\u09BC\u09BE\u09CD" \
-    "\u09D7\u09FE\u0A3C\u0A4D\u0ABC\u0ACD\u0B3C\u0B3E" \
-    "\u0B4D\u0B56\u0B57\u0BBE\u0BCD\u0BD7\u0C4D\u0C55\u0C56\u0CBC" \
-    "\u0CC2\u0CCD\u0CD5\u0CD6\u0D3B\u0D3C\u0D3E\u0D4D\u0D57\u0DCA" \
-    "\u0DCF\u0DDF\u0E38-\u0E3A\u0E48-\u0E4B\u0EB8-\u0EBA\u0EC8-\u0ECB\u0F18\u0F19\u0F35" \
-    "\u0F37\u0F39\u0F71\u0F72\u0F74\u0F7A-\u0F7D\u0F80\u0F82-\u0F84\u0F86\u0F87" \
-    "\u0FC6\u102E\u1037\u1039\u103A\u108D\u135D-\u135F\u1714\u1734" \
-    "\u17D2\u17DD\u18A9\u1939-\u193B\u1A17\u1A18\u1A60\u1A75-\u1A7C\u1A7F" \
-    "\u1AB0-\u1ABD\u1B34\u1B35\u1B44\u1B6B-\u1B73\u1BAA\u1BAB\u1BE6\u1BF2\u1BF3\u1C37" \
-    "\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF" \
-    "\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A" \
-    "\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA806\uA8C4\uA8E0-\uA8F1\uA92B-\uA92D" \
-    "\uA953\uA9B3\uA9C0\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1" \
-    "\uAAF6\uABED\uFB1E\uFE20-\uFE2F\u{101FD}\u{102E0}\u{10376}-\u{1037A}\u{10A0D}" \
-    "\u{10A0F}\u{10A38}-\u{10A3A}\u{10A3F}\u{10AE5}\u{10AE6}\u{10D24}-\u{10D27}\u{10F46}-\u{10F50}\u{11046}\u{1107F}" \
-    "\u{110B9}\u{110BA}\u{11100}-\u{11102}\u{11127}\u{11133}\u{11134}\u{11173}\u{111C0}\u{111CA}\u{11235}\u{11236}" \
-    "\u{112E9}\u{112EA}\u{1133B}\u{1133C}\u{1133E}\u{1134D}\u{11357}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{11442}" \
-    "\u{11446}\u{1145E}\u{114B0}\u{114BA}\u{114BD}\u{114C2}\u{114C3}\u{115AF}\u{115BF}\u{115C0}" \
-    "\u{1163F}\u{116B6}\u{116B7}\u{1172B}\u{11839}\u{1183A}\u{119E0}\u{11A34}\u{11A47}\u{11A99}" \
-    "\u{11C3F}\u{11D42}\u{11D44}\u{11D45}\u{11D97}\u{16AF0}-\u{16AF4}\u{16B30}-\u{16B36}\u{1BC9E}\u{1D165}-\u{1D169}" \
-    "\u{1D16D}-\u{1D172}\u{1D17B}-\u{1D182}\u{1D185}-\u{1D18B}\u{1D1AA}-\u{1D1AD}\u{1D242}-\u{1D244}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}" \
-    "\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E130}-\u{1E136}\u{1E2EC}-\u{1E2EF}\u{1E8D0}-\u{1E8D6}\u{1E944}-\u{1E94A}" \
+    "[\u0300-\u034E" \
+    "\u0350-\u036F" \
+    "\u0483-\u0487" \
+    "\u0591-\u05BD" \
+    "\u05BF" \
+    "\u05C1\u05C2" \
+    "\u05C4\u05C5" \
+    "\u05C7" \
+    "\u0610-\u061A" \
+    "\u064B-\u065F" \
+    "\u0670" \
+    "\u06D6-\u06DC" \
+    "\u06DF-\u06E4" \
+    "\u06E7\u06E8" \
+    "\u06EA-\u06ED" \
+    "\u0711" \
+    "\u0730-\u074A" \
+    "\u07EB-\u07F3" \
+    "\u07FD" \
+    "\u0816-\u0819" \
+    "\u081B-\u0823" \
+    "\u0825-\u0827" \
+    "\u0829-\u082D" \
+    "\u0859-\u085B" \
+    "\u08D3-\u08E1" \
+    "\u08E3-\u08FF" \
+    "\u093C" \
+    "\u094D" \
+    "\u0951-\u0954" \
+    "\u09BC" \
+    "\u09BE" \
+    "\u09CD" \
+    "\u09D7" \
+    "\u09FE" \
+    "\u0A3C" \
+    "\u0A4D" \
+    "\u0ABC" \
+    "\u0ACD" \
+    "\u0B3C" \
+    "\u0B3E" \
+    "\u0B4D" \
+    "\u0B56\u0B57" \
+    "\u0BBE" \
+    "\u0BCD" \
+    "\u0BD7" \
+    "\u0C4D" \
+    "\u0C55\u0C56" \
+    "\u0CBC" \
+    "\u0CC2" \
+    "\u0CCD" \
+    "\u0CD5\u0CD6" \
+    "\u0D3B\u0D3C" \
+    "\u0D3E" \
+    "\u0D4D" \
+    "\u0D57" \
+    "\u0DCA" \
+    "\u0DCF" \
+    "\u0DDF" \
+    "\u0E38-\u0E3A" \
+    "\u0E48-\u0E4B" \
+    "\u0EB8-\u0EBA" \
+    "\u0EC8-\u0ECB" \
+    "\u0F18\u0F19" \
+    "\u0F35" \
+    "\u0F37" \
+    "\u0F39" \
+    "\u0F71\u0F72" \
+    "\u0F74" \
+    "\u0F7A-\u0F7D" \
+    "\u0F80" \
+    "\u0F82-\u0F84" \
+    "\u0F86\u0F87" \
+    "\u0FC6" \
+    "\u102E" \
+    "\u1037" \
+    "\u1039\u103A" \
+    "\u108D" \
+    "\u135D-\u135F" \
+    "\u1714" \
+    "\u1734" \
+    "\u17D2" \
+    "\u17DD" \
+    "\u18A9" \
+    "\u1939-\u193B" \
+    "\u1A17\u1A18" \
+    "\u1A60" \
+    "\u1A75-\u1A7C" \
+    "\u1A7F" \
+    "\u1AB0-\u1ABD" \
+    "\u1B34\u1B35" \
+    "\u1B44" \
+    "\u1B6B-\u1B73" \
+    "\u1BAA\u1BAB" \
+    "\u1BE6" \
+    "\u1BF2\u1BF3" \
+    "\u1C37" \
+    "\u1CD0-\u1CD2" \
+    "\u1CD4-\u1CE0" \
+    "\u1CE2-\u1CE8" \
+    "\u1CED" \
+    "\u1CF4" \
+    "\u1CF8\u1CF9" \
+    "\u1DC0-\u1DF9" \
+    "\u1DFB-\u1DFF" \
+    "\u20D0-\u20DC" \
+    "\u20E1" \
+    "\u20E5-\u20F0" \
+    "\u2CEF-\u2CF1" \
+    "\u2D7F" \
+    "\u2DE0-\u2DFF" \
+    "\u302A-\u302F" \
+    "\u3099\u309A" \
+    "\uA66F" \
+    "\uA674-\uA67D" \
+    "\uA69E\uA69F" \
+    "\uA6F0\uA6F1" \
+    "\uA806" \
+    "\uA8C4" \
+    "\uA8E0-\uA8F1" \
+    "\uA92B-\uA92D" \
+    "\uA953" \
+    "\uA9B3" \
+    "\uA9C0" \
+    "\uAAB0" \
+    "\uAAB2-\uAAB4" \
+    "\uAAB7\uAAB8" \
+    "\uAABE\uAABF" \
+    "\uAAC1" \
+    "\uAAF6" \
+    "\uABED" \
+    "\uFB1E" \
+    "\uFE20-\uFE2F" \
+    "\u{101FD}" \
+    "\u{102E0}" \
+    "\u{10376}-\u{1037A}" \
+    "\u{10A0D}" \
+    "\u{10A0F}" \
+    "\u{10A38}-\u{10A3A}" \
+    "\u{10A3F}" \
+    "\u{10AE5}\u{10AE6}" \
+    "\u{10D24}-\u{10D27}" \
+    "\u{10F46}-\u{10F50}" \
+    "\u{11046}" \
+    "\u{1107F}" \
+    "\u{110B9}\u{110BA}" \
+    "\u{11100}-\u{11102}" \
+    "\u{11127}" \
+    "\u{11133}\u{11134}" \
+    "\u{11173}" \
+    "\u{111C0}" \
+    "\u{111CA}" \
+    "\u{11235}\u{11236}" \
+    "\u{112E9}\u{112EA}" \
+    "\u{1133B}\u{1133C}" \
+    "\u{1133E}" \
+    "\u{1134D}" \
+    "\u{11357}" \
+    "\u{11366}-\u{1136C}" \
+    "\u{11370}-\u{11374}" \
+    "\u{11442}" \
+    "\u{11446}" \
+    "\u{1145E}" \
+    "\u{114B0}" \
+    "\u{114BA}" \
+    "\u{114BD}" \
+    "\u{114C2}\u{114C3}" \
+    "\u{115AF}" \
+    "\u{115BF}\u{115C0}" \
+    "\u{1163F}" \
+    "\u{116B6}\u{116B7}" \
+    "\u{1172B}" \
+    "\u{11839}\u{1183A}" \
+    "\u{119E0}" \
+    "\u{11A34}" \
+    "\u{11A47}" \
+    "\u{11A99}" \
+    "\u{11C3F}" \
+    "\u{11D42}" \
+    "\u{11D44}\u{11D45}" \
+    "\u{11D97}" \
+    "\u{16AF0}-\u{16AF4}" \
+    "\u{16B30}-\u{16B36}" \
+    "\u{1BC9E}" \
+    "\u{1D165}-\u{1D169}" \
+    "\u{1D16D}-\u{1D172}" \
+    "\u{1D17B}-\u{1D182}" \
+    "\u{1D185}-\u{1D18B}" \
+    "\u{1D1AA}-\u{1D1AD}" \
+    "\u{1D242}-\u{1D244}" \
+    "\u{1E000}-\u{1E006}" \
+    "\u{1E008}-\u{1E018}" \
+    "\u{1E01B}-\u{1E021}" \
+    "\u{1E023}\u{1E024}" \
+    "\u{1E026}-\u{1E02A}" \
+    "\u{1E130}-\u{1E136}" \
+    "\u{1E2EC}-\u{1E2EF}" \
+    "\u{1E8D0}-\u{1E8D6}" \
+    "\u{1E944}-\u{1E94A}" \
     "]"
   ACCENTS = accents
   REGEXP_D_STRING = "#{''  # composition starters and composition exclusions
     }" \
-    "[\u00C0-\u00C5\u00C7-\u00CF\u00D1-\u00D6\u00D9-\u00DD\u00E0-\u00E5\u00E7-\u00EF\u00F1-\u00F6\u00F9-\u00FD" \
-    "\u00FF-\u010F\u0112-\u0125\u0128-\u0130\u0134-\u0137\u0139-\u013E\u0143-\u0148\u014C-\u0151\u0154-\u0165" \
-    "\u0168-\u017E\u01A0\u01A1\u01AF\u01B0\u01CD-\u01DC\u01DE-\u01E3\u01E6-\u01F0\u01F4\u01F5\u01F8-\u021B" \
-    "\u021E\u021F\u0226-\u0233\u0340\u0341\u0343\u0344\u0374\u037E\u0385-\u038A\u038C" \
-    "\u038E-\u0390\u03AA-\u03B0\u03CA-\u03CE\u03D3\u03D4\u0400\u0401\u0403\u0407\u040C-\u040E" \
-    "\u0419\u0439\u0450\u0451\u0453\u0457\u045C-\u045E\u0476\u0477\u04C1\u04C2" \
-    "\u04D0-\u04D3\u04D6\u04D7\u04DA-\u04DF\u04E2-\u04E7\u04EA-\u04F5\u04F8\u04F9\u0622-\u0626\u06C0" \
-    "\u06C2\u06D3\u0929\u0931\u0934\u0958-\u095F\u09CB\u09CC\u09DC\u09DD" \
-    "\u09DF\u0A33\u0A36\u0A59-\u0A5B\u0A5E\u0B48\u0B4B\u0B4C\u0B5C\u0B5D" \
-    "\u0B94\u0BCA-\u0BCC\u0C48\u0CC0\u0CC7\u0CC8\u0CCA\u0CCB\u0D4A-\u0D4C\u0DDA" \
-    "\u0DDC-\u0DDE\u0F43\u0F4D\u0F52\u0F57\u0F5C\u0F69\u0F73" \
-    "\u0F75\u0F76\u0F78\u0F81\u0F93\u0F9D\u0FA2\u0FA7\u0FAC" \
-    "\u0FB9\u1026\u1B06\u1B08\u1B0A\u1B0C\u1B0E\u1B12" \
-    "\u1B3B\u1B3D\u1B40\u1B41\u1B43\u1E00-\u1E99\u1E9B\u1EA0-\u1EF9\u1F00-\u1F15" \
-    "\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D" \
-    "\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC1-\u1FC4\u1FC6-\u1FD3\u1FD6-\u1FDB\u1FDD-\u1FEF\u1FF2-\u1FF4" \
-    "\u1FF6-\u1FFD\u2000\u2001\u2126\u212A\u212B\u219A\u219B\u21AE\u21CD-\u21CF\u2204" \
-    "\u2209\u220C\u2224\u2226\u2241\u2244\u2247\u2249" \
-    "\u2260\u2262\u226D-\u2271\u2274\u2275\u2278\u2279\u2280\u2281\u2284\u2285\u2288\u2289" \
-    "\u22AC-\u22AF\u22E0-\u22E3\u22EA-\u22ED\u2329\u232A\u2ADC\u304C\u304E\u3050" \
-    "\u3052\u3054\u3056\u3058\u305A\u305C\u305E\u3060" \
-    "\u3062\u3065\u3067\u3069\u3070\u3071\u3073\u3074\u3076\u3077\u3079\u307A" \
-    "\u307C\u307D\u3094\u309E\u30AC\u30AE\u30B0\u30B2\u30B4" \
-    "\u30B6\u30B8\u30BA\u30BC\u30BE\u30C0\u30C2\u30C5" \
-    "\u30C7\u30C9\u30D0\u30D1\u30D3\u30D4\u30D6\u30D7\u30D9\u30DA\u30DC\u30DD\u30F4" \
-    "\u30F7-\u30FA\u30FE\uF900-\uFA0D\uFA10\uFA12\uFA15-\uFA1E\uFA20\uFA22" \
-    "\uFA25\uFA26\uFA2A-\uFA6D\uFA70-\uFAD9\uFB1D\uFB1F\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E" \
-    "\uFB40\uFB41\uFB43\uFB44\uFB46-\uFB4E\u{1109A}\u{1109C}\u{110AB}\u{1112E}\u{1112F}\u{1134B}\u{1134C}" \
-    "\u{114BB}\u{114BC}\u{114BE}\u{115BA}\u{115BB}\u{1D15E}-\u{1D164}\u{1D1BB}-\u{1D1C0}\u{2F800}-\u{2FA1D}" \
+    "[\u00C0-\u00C5" \
+    "\u00C7-\u00CF" \
+    "\u00D1-\u00D6" \
+    "\u00D9-\u00DD" \
+    "\u00E0-\u00E5" \
+    "\u00E7-\u00EF" \
+    "\u00F1-\u00F6" \
+    "\u00F9-\u00FD" \
+    "\u00FF-\u010F" \
+    "\u0112-\u0125" \
+    "\u0128-\u0130" \
+    "\u0134-\u0137" \
+    "\u0139-\u013E" \
+    "\u0143-\u0148" \
+    "\u014C-\u0151" \
+    "\u0154-\u0165" \
+    "\u0168-\u017E" \
+    "\u01A0\u01A1" \
+    "\u01AF\u01B0" \
+    "\u01CD-\u01DC" \
+    "\u01DE-\u01E3" \
+    "\u01E6-\u01F0" \
+    "\u01F4\u01F5" \
+    "\u01F8-\u021B" \
+    "\u021E\u021F" \
+    "\u0226-\u0233" \
+    "\u0340\u0341" \
+    "\u0343\u0344" \
+    "\u0374" \
+    "\u037E" \
+    "\u0385-\u038A" \
+    "\u038C" \
+    "\u038E-\u0390" \
+    "\u03AA-\u03B0" \
+    "\u03CA-\u03CE" \
+    "\u03D3\u03D4" \
+    "\u0400\u0401" \
+    "\u0403" \
+    "\u0407" \
+    "\u040C-\u040E" \
+    "\u0419" \
+    "\u0439" \
+    "\u0450\u0451" \
+    "\u0453" \
+    "\u0457" \
+    "\u045C-\u045E" \
+    "\u0476\u0477" \
+    "\u04C1\u04C2" \
+    "\u04D0-\u04D3" \
+    "\u04D6\u04D7" \
+    "\u04DA-\u04DF" \
+    "\u04E2-\u04E7" \
+    "\u04EA-\u04F5" \
+    "\u04F8\u04F9" \
+    "\u0622-\u0626" \
+    "\u06C0" \
+    "\u06C2" \
+    "\u06D3" \
+    "\u0929" \
+    "\u0931" \
+    "\u0934" \
+    "\u0958-\u095F" \
+    "\u09CB\u09CC" \
+    "\u09DC\u09DD" \
+    "\u09DF" \
+    "\u0A33" \
+    "\u0A36" \
+    "\u0A59-\u0A5B" \
+    "\u0A5E" \
+    "\u0B48" \
+    "\u0B4B\u0B4C" \
+    "\u0B5C\u0B5D" \
+    "\u0B94" \
+    "\u0BCA-\u0BCC" \
+    "\u0C48" \
+    "\u0CC0" \
+    "\u0CC7\u0CC8" \
+    "\u0CCA\u0CCB" \
+    "\u0D4A-\u0D4C" \
+    "\u0DDA" \
+    "\u0DDC-\u0DDE" \
+    "\u0F43" \
+    "\u0F4D" \
+    "\u0F52" \
+    "\u0F57" \
+    "\u0F5C" \
+    "\u0F69" \
+    "\u0F73" \
+    "\u0F75\u0F76" \
+    "\u0F78" \
+    "\u0F81" \
+    "\u0F93" \
+    "\u0F9D" \
+    "\u0FA2" \
+    "\u0FA7" \
+    "\u0FAC" \
+    "\u0FB9" \
+    "\u1026" \
+    "\u1B06" \
+    "\u1B08" \
+    "\u1B0A" \
+    "\u1B0C" \
+    "\u1B0E" \
+    "\u1B12" \
+    "\u1B3B" \
+    "\u1B3D" \
+    "\u1B40\u1B41" \
+    "\u1B43" \
+    "\u1E00-\u1E99" \
+    "\u1E9B" \
+    "\u1EA0-\u1EF9" \
+    "\u1F00-\u1F15" \
+    "\u1F18-\u1F1D" \
+    "\u1F20-\u1F45" \
+    "\u1F48-\u1F4D" \
+    "\u1F50-\u1F57" \
+    "\u1F59" \
+    "\u1F5B" \
+    "\u1F5D" \
+    "\u1F5F-\u1F7D" \
+    "\u1F80-\u1FB4" \
+    "\u1FB6-\u1FBC" \
+    "\u1FBE" \
+    "\u1FC1-\u1FC4" \
+    "\u1FC6-\u1FD3" \
+    "\u1FD6-\u1FDB" \
+    "\u1FDD-\u1FEF" \
+    "\u1FF2-\u1FF4" \
+    "\u1FF6-\u1FFD" \
+    "\u2000\u2001" \
+    "\u2126" \
+    "\u212A\u212B" \
+    "\u219A\u219B" \
+    "\u21AE" \
+    "\u21CD-\u21CF" \
+    "\u2204" \
+    "\u2209" \
+    "\u220C" \
+    "\u2224" \
+    "\u2226" \
+    "\u2241" \
+    "\u2244" \
+    "\u2247" \
+    "\u2249" \
+    "\u2260" \
+    "\u2262" \
+    "\u226D-\u2271" \
+    "\u2274\u2275" \
+    "\u2278\u2279" \
+    "\u2280\u2281" \
+    "\u2284\u2285" \
+    "\u2288\u2289" \
+    "\u22AC-\u22AF" \
+    "\u22E0-\u22E3" \
+    "\u22EA-\u22ED" \
+    "\u2329\u232A" \
+    "\u2ADC" \
+    "\u304C" \
+    "\u304E" \
+    "\u3050" \
+    "\u3052" \
+    "\u3054" \
+    "\u3056" \
+    "\u3058" \
+    "\u305A" \
+    "\u305C" \
+    "\u305E" \
+    "\u3060" \
+    "\u3062" \
+    "\u3065" \
+    "\u3067" \
+    "\u3069" \
+    "\u3070\u3071" \
+    "\u3073\u3074" \
+    "\u3076\u3077" \
+    "\u3079\u307A" \
+    "\u307C\u307D" \
+    "\u3094" \
+    "\u309E" \
+    "\u30AC" \
+    "\u30AE" \
+    "\u30B0" \
+    "\u30B2" \
+    "\u30B4" \
+    "\u30B6" \
+    "\u30B8" \
+    "\u30BA" \
+    "\u30BC" \
+    "\u30BE" \
+    "\u30C0" \
+    "\u30C2" \
+    "\u30C5" \
+    "\u30C7" \
+    "\u30C9" \
+    "\u30D0\u30D1" \
+    "\u30D3\u30D4" \
+    "\u30D6\u30D7" \
+    "\u30D9\u30DA" \
+    "\u30DC\u30DD" \
+    "\u30F4" \
+    "\u30F7-\u30FA" \
+    "\u30FE" \
+    "\uF900-\uFA0D" \
+    "\uFA10" \
+    "\uFA12" \
+    "\uFA15-\uFA1E" \
+    "\uFA20" \
+    "\uFA22" \
+    "\uFA25\uFA26" \
+    "\uFA2A-\uFA6D" \
+    "\uFA70-\uFAD9" \
+    "\uFB1D" \
+    "\uFB1F" \
+    "\uFB2A-\uFB36" \
+    "\uFB38-\uFB3C" \
+    "\uFB3E" \
+    "\uFB40\uFB41" \
+    "\uFB43\uFB44" \
+    "\uFB46-\uFB4E" \
+    "\u{1109A}" \
+    "\u{1109C}" \
+    "\u{110AB}" \
+    "\u{1112E}\u{1112F}" \
+    "\u{1134B}\u{1134C}" \
+    "\u{114BB}\u{114BC}" \
+    "\u{114BE}" \
+    "\u{115BA}\u{115BB}" \
+    "\u{1D15E}-\u{1D164}" \
+    "\u{1D1BB}-\u{1D1C0}" \
+    "\u{2F800}-\u{2FA1D}" \
     "]#{accents}*" \
     "|#{''  # characters that can be the result of a composition, except composition starters
     }" \
-    "[<->A-PR-Za-pr-z\u00A8\u00C6\u00D8" \
-    "\u00E6\u00F8\u017F\u01B7\u0292\u0391\u0395\u0397" \
-    "\u0399\u039F\u03A1\u03A5\u03A9\u03B1\u03B5\u03B7" \
-    "\u03B9\u03BF\u03C1\u03C5\u03C9\u03D2\u0406\u0410" \
-    "\u0413\u0415-\u0418\u041A\u041E\u0423\u0427\u042B\u042D" \
-    "\u0430\u0433\u0435-\u0438\u043A\u043E\u0443\u0447\u044B" \
-    "\u044D\u0456\u0474\u0475\u04D8\u04D9\u04E8\u04E9\u0627\u0648\u064A" \
-    "\u06C1\u06D2\u06D5\u0928\u0930\u0933\u09C7\u0B47" \
-    "\u0B92\u0BC6\u0BC7\u0C46\u0CBF\u0CC6\u0D46\u0D47\u0DD9\u1025" \
-    "\u1B05\u1B07\u1B09\u1B0B\u1B0D\u1B11\u1B3A\u1B3C" \
-    "\u1B3E\u1B3F\u1B42\u1FBF\u1FFE\u2190\u2192\u2194\u21D0" \
-    "\u21D2\u21D4\u2203\u2208\u220B\u2223\u2225\u223C" \
-    "\u2243\u2245\u2248\u224D\u2261\u2264\u2265\u2272\u2273\u2276\u2277" \
-    "\u227A-\u227D\u2282\u2283\u2286\u2287\u2291\u2292\u22A2\u22A8\u22A9\u22AB\u22B2-\u22B5" \
-    "\u3046\u304B\u304D\u304F\u3051\u3053\u3055\u3057" \
-    "\u3059\u305B\u305D\u305F\u3061\u3064\u3066\u3068" \
-    "\u306F\u3072\u3075\u3078\u307B\u309D\u30A6\u30AB" \
-    "\u30AD\u30AF\u30B1\u30B3\u30B5\u30B7\u30B9\u30BB" \
-    "\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CF\u30D2" \
-    "\u30D5\u30D8\u30DB\u30EF-\u30F2\u30FD\u{11099}\u{1109B}\u{110A5}" \
-    "\u{11131}\u{11132}\u{11347}\u{114B9}\u{115B8}\u{115B9}" \
+    "[<->" \
+    "A-P" \
+    "R-Z" \
+    "a-p" \
+    "r-z" \
+    "\u00A8" \
+    "\u00C6" \
+    "\u00D8" \
+    "\u00E6" \
+    "\u00F8" \
+    "\u017F" \
+    "\u01B7" \
+    "\u0292" \
+    "\u0391" \
+    "\u0395" \
+    "\u0397" \
+    "\u0399" \
+    "\u039F" \
+    "\u03A1" \
+    "\u03A5" \
+    "\u03A9" \
+    "\u03B1" \
+    "\u03B5" \
+    "\u03B7" \
+    "\u03B9" \
+    "\u03BF" \
+    "\u03C1" \
+    "\u03C5" \
+    "\u03C9" \
+    "\u03D2" \
+    "\u0406" \
+    "\u0410" \
+    "\u0413" \
+    "\u0415-\u0418" \
+    "\u041A" \
+    "\u041E" \
+    "\u0423" \
+    "\u0427" \
+    "\u042B" \
+    "\u042D" \
+    "\u0430" \
+    "\u0433" \
+    "\u0435-\u0438" \
+    "\u043A" \
+    "\u043E" \
+    "\u0443" \
+    "\u0447" \
+    "\u044B" \
+    "\u044D" \
+    "\u0456" \
+    "\u0474\u0475" \
+    "\u04D8\u04D9" \
+    "\u04E8\u04E9" \
+    "\u0627" \
+    "\u0648" \
+    "\u064A" \
+    "\u06C1" \
+    "\u06D2" \
+    "\u06D5" \
+    "\u0928" \
+    "\u0930" \
+    "\u0933" \
+    "\u09C7" \
+    "\u0B47" \
+    "\u0B92" \
+    "\u0BC6\u0BC7" \
+    "\u0C46" \
+    "\u0CBF" \
+    "\u0CC6" \
+    "\u0D46\u0D47" \
+    "\u0DD9" \
+    "\u1025" \
+    "\u1B05" \
+    "\u1B07" \
+    "\u1B09" \
+    "\u1B0B" \
+    "\u1B0D" \
+    "\u1B11" \
+    "\u1B3A" \
+    "\u1B3C" \
+    "\u1B3E\u1B3F" \
+    "\u1B42" \
+    "\u1FBF" \
+    "\u1FFE" \
+    "\u2190" \
+    "\u2192" \
+    "\u2194" \
+    "\u21D0" \
+    "\u21D2" \
+    "\u21D4" \
+    "\u2203" \
+    "\u2208" \
+    "\u220B" \
+    "\u2223" \
+    "\u2225" \
+    "\u223C" \
+    "\u2243" \
+    "\u2245" \
+    "\u2248" \
+    "\u224D" \
+    "\u2261" \
+    "\u2264\u2265" \
+    "\u2272\u2273" \
+    "\u2276\u2277" \
+    "\u227A-\u227D" \
+    "\u2282\u2283" \
+    "\u2286\u2287" \
+    "\u2291\u2292" \
+    "\u22A2" \
+    "\u22A8\u22A9" \
+    "\u22AB" \
+    "\u22B2-\u22B5" \
+    "\u3046" \
+    "\u304B" \
+    "\u304D" \
+    "\u304F" \
+    "\u3051" \
+    "\u3053" \
+    "\u3055" \
+    "\u3057" \
+    "\u3059" \
+    "\u305B" \
+    "\u305D" \
+    "\u305F" \
+    "\u3061" \
+    "\u3064" \
+    "\u3066" \
+    "\u3068" \
+    "\u306F" \
+    "\u3072" \
+    "\u3075" \
+    "\u3078" \
+    "\u307B" \
+    "\u309D" \
+    "\u30A6" \
+    "\u30AB" \
+    "\u30AD" \
+    "\u30AF" \
+    "\u30B1" \
+    "\u30B3" \
+    "\u30B5" \
+    "\u30B7" \
+    "\u30B9" \
+    "\u30BB" \
+    "\u30BD" \
+    "\u30BF" \
+    "\u30C1" \
+    "\u30C4" \
+    "\u30C6" \
+    "\u30C8" \
+    "\u30CF" \
+    "\u30D2" \
+    "\u30D5" \
+    "\u30D8" \
+    "\u30DB" \
+    "\u30EF-\u30F2" \
+    "\u30FD" \
+    "\u{11099}" \
+    "\u{1109B}" \
+    "\u{110A5}" \
+    "\u{11131}\u{11132}" \
+    "\u{11347}" \
+    "\u{114B9}" \
+    "\u{115B8}\u{115B9}" \
     "]?#{accents}+" \
     "|#{''  # precomposed Hangul syllables
     }" \
     "[\u{AC00}-\u{D7A4}]"
   REGEXP_C_STRING = "#{''  # composition exclusions
     }" \
-    "[\u0340\u0341\u0343\u0344\u0374\u037E\u0387\u0958-\u095F\u09DC\u09DD\u09DF" \
-    "\u0A33\u0A36\u0A59-\u0A5B\u0A5E\u0B5C\u0B5D\u0F43\u0F4D\u0F52" \
-    "\u0F57\u0F5C\u0F69\u0F73\u0F75\u0F76\u0F78\u0F81\u0F93" \
-    "\u0F9D\u0FA2\u0FA7\u0FAC\u0FB9\u1F71\u1F73\u1F75" \
-    "\u1F77\u1F79\u1F7B\u1F7D\u1FBB\u1FBE\u1FC9\u1FCB" \
-    "\u1FD3\u1FDB\u1FE3\u1FEB\u1FEE\u1FEF\u1FF9\u1FFB\u1FFD" \
-    "\u2000\u2001\u2126\u212A\u212B\u2329\u232A\u2ADC\uF900-\uFA0D\uFA10\uFA12" \
-    "\uFA15-\uFA1E\uFA20\uFA22\uFA25\uFA26\uFA2A-\uFA6D\uFA70-\uFAD9\uFB1D\uFB1F" \
-    "\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFB4E\u{1D15E}-\u{1D164}\u{1D1BB}-\u{1D1C0}" \
+    "[\u0340\u0341" \
+    "\u0343\u0344" \
+    "\u0374" \
+    "\u037E" \
+    "\u0387" \
+    "\u0958-\u095F" \
+    "\u09DC\u09DD" \
+    "\u09DF" \
+    "\u0A33" \
+    "\u0A36" \
+    "\u0A59-\u0A5B" \
+    "\u0A5E" \
+    "\u0B5C\u0B5D" \
+    "\u0F43" \
+    "\u0F4D" \
+    "\u0F52" \
+    "\u0F57" \
+    "\u0F5C" \
+    "\u0F69" \
+    "\u0F73" \
+    "\u0F75\u0F76" \
+    "\u0F78" \
+    "\u0F81" \
+    "\u0F93" \
+    "\u0F9D" \
+    "\u0FA2" \
+    "\u0FA7" \
+    "\u0FAC" \
+    "\u0FB9" \
+    "\u1F71" \
+    "\u1F73" \
+    "\u1F75" \
+    "\u1F77" \
+    "\u1F79" \
+    "\u1F7B" \
+    "\u1F7D" \
+    "\u1FBB" \
+    "\u1FBE" \
+    "\u1FC9" \
+    "\u1FCB" \
+    "\u1FD3" \
+    "\u1FDB" \
+    "\u1FE3" \
+    "\u1FEB" \
+    "\u1FEE\u1FEF" \
+    "\u1FF9" \
+    "\u1FFB" \
+    "\u1FFD" \
+    "\u2000\u2001" \
+    "\u2126" \
+    "\u212A\u212B" \ (... truncated)

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]