OLD | NEW |
1 # *************************************************************************** | 1 # *************************************************************************** |
2 # * | 2 # * |
3 # * Copyright (C) 2004-2013, International Business Machines | 3 # * Copyright (C) 2004-2014, International Business Machines |
4 # * Corporation; Unicode, Inc.; and others. All Rights Reserved. | 4 # * Corporation; Unicode, Inc.; and others. All Rights Reserved. |
5 # * | 5 # * |
6 # *************************************************************************** | 6 # *************************************************************************** |
7 # File: Han_Spacedhan.txt | 7 # File: Han_Spacedhan.txt |
8 # Generated from CLDR | 8 # Generated from CLDR |
9 # | 9 # |
10 :: [[㆒-㆟㈠-㉇㊀-㊰㋀-㋋㍘-㍰㍻-㍿㏠-㏾ 🈐-🈒🈔-🈺🉀-🉈🉐🉑][:ideographic:][:sc=han:]] nfkc; | 10 :: [[㆒-㆟㈠-㉇㊀-㊰㋀-㋋㍘-㍰㍻-㍿㏠-㏾ 🈐-🈒🈔-🈺🉀-🉈🉐🉑][:ideographic:][:sc=han:]] nfkc; |
11 :: fullwidth-halfwidth; | 11 :: fullwidth-halfwidth; |
12 。 → '.'; | 12 。 → '.'; |
13 $terminalPunct = [\.\,\:\;\?\!.,:?!。、;[:Pe:][:Pf:]]; | 13 $terminalPunct = [\.\,\:\;\?\!.,:?!。、;[:Pe:][:Pf:]]; |
14 $initialPunct = [:Ps:][:Pi:]; | 14 $initialPunct = [:Ps:][:Pi:]; |
15 [[:Ideographic:] $terminalPunct] {} [:Letter:] → ' ' ; | 15 [[:Ideographic:] $terminalPunct] {} [:Letter:] → ' ' ; |
16 [:Letter:] [:Mark:]* {} [[:Ideographic:] $initialPunct] → ' ' ; | 16 [:Letter:] [:Mark:]* {} [[:Ideographic:] $initialPunct] → ' ' ; |
17 ← [:Ideographic:] { ' ' } [:Letter:] ; | 17 ← [:Ideographic:] { ' ' } [:Letter:] ; |
18 ← [:Letter:] [:Mark:]* { ' ' } [:Ideographic:] ; | 18 ← [:Letter:] [:Mark:]* { ' ' } [:Ideographic:] ; |
OLD | NEW |