9cc0f7b308
X-SVN-Rev: 15395
51 lines
1.2 KiB
Plaintext
51 lines
1.2 KiB
Plaintext
// -*- Coding: utf-8; -*-
|
||
//--------------------------------------------------------------------
|
||
// Copyright (c) 1999-2004, International Business Machines
|
||
// Corporation and others. All Rights Reserved.
|
||
//--------------------------------------------------------------------
|
||
// THIS IS A MACHINE-GENERATED FILE
|
||
// Tool: dumpICUrules.bat
|
||
// Source: ../../../impl/data/Transliterator_Any_Publishing.txt
|
||
// Date: Tue May 18 17:24:48 2004
|
||
//--------------------------------------------------------------------
|
||
|
||
// Any_Publishing
|
||
|
||
t_Any_Publishing {
|
||
Rule {
|
||
//--------------------------------------------------------------------
|
||
//--------------------------------------------------------------------
|
||
//--------------------------------------------------------------------
|
||
|
||
// Test case
|
||
// "The" "(quick)" ('brown') `fox' ` jumped -- "over?"
|
||
|
||
// Variables
|
||
|
||
"$single = \\\' ;"
|
||
"$space = ' ' ;"
|
||
"$double = \\\" ;"
|
||
"$back = \\\` ;"
|
||
"$tab = '\u0008' ;"
|
||
"$makeRight = [[:Z:][:Ps:][:Pi:]$] ;"
|
||
|
||
// fix UNIX quotes
|
||
|
||
"$back $back > “ ;"
|
||
"$back > ‘ ;"
|
||
|
||
// fix typewriter quotes, by context
|
||
|
||
"$makeRight {$double} <> “ ;"
|
||
"$double <> ” ;"
|
||
|
||
"$makeRight {$single} <> ‘ ;"
|
||
"$single <> ’;"
|
||
|
||
// fix multiple spaces and hyphens
|
||
|
||
"$space {$space} > ;"
|
||
"'--' <> — ;"
|
||
}
|
||
}
|