1 # ***************************************************************************
3 # * Copyright (C) 2004-2008, International Business Machines
4 # * Corporation; Unicode, Inc.; and others. All Rights Reserved.
6 # ***************************************************************************
7 # File: Han_Spacedhan.txt
10 :: fullwidth-halfwidth;
12 $terminalPunct = [\.\,\:\;\?\!.,:?!。、;[:Pe:][:Pf:]];
13 $initialPunct = [:Ps:][:Pi:];
14 [[:Ideographic:] $terminalPunct] {} [:Letter:] > ' ' ;
15 [:Letter:] [:Mark:]* {} [[:Ideographic:] $initialPunct] > ' ' ;
16 < [:Ideographic:] { ' ' } [:Letter:] ;
17 < [:Letter:] [:Mark:]* { ' ' } [:Ideographic:] ;