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