2006-07-21 01:08:32 +00:00
|
|
|
# ***************************************************************************
|
|
|
|
# *
|
2014-01-11 22:23:57 +00:00
|
|
|
# * Copyright (C) 2004-2014, International Business Machines
|
2006-07-21 01:08:32 +00:00
|
|
|
# * Corporation; Unicode, Inc.; and others. All Rights Reserved.
|
|
|
|
# *
|
|
|
|
# ***************************************************************************
|
|
|
|
# File: Han_Spacedhan.txt
|
2006-10-27 17:55:54 +00:00
|
|
|
# Generated from CLDR
|
2006-07-21 01:08:32 +00:00
|
|
|
#
|
2010-10-25 06:30:04 +00:00
|
|
|
:: [[㆒-㆟㈠-㉇㊀-㊰㋀-㋋㍘-㍰㍻-㍿㏠-㏾ 🈐-🈒🈔-🈺🉀-🉈🉐🉑][:ideographic:][:sc=han:]] nfkc;
|
2004-08-02 20:06:55 +00:00
|
|
|
:: fullwidth-halfwidth;
|
2009-04-10 07:47:09 +00:00
|
|
|
。 → '.';
|
2004-08-02 20:06:55 +00:00
|
|
|
$terminalPunct = [\.\,\:\;\?\!.,:?!。、;[:Pe:][:Pf:]];
|
|
|
|
$initialPunct = [:Ps:][:Pi:];
|
2009-04-10 07:47:09 +00:00
|
|
|
[[:Ideographic:] $terminalPunct] {} [:Letter:] → ' ' ;
|
|
|
|
[:Letter:] [:Mark:]* {} [[:Ideographic:] $initialPunct] → ' ' ;
|
|
|
|
← [:Ideographic:] { ' ' } [:Letter:] ;
|
|
|
|
← [:Letter:] [:Mark:]* { ' ' } [:Ideographic:] ;
|