2001-10-26 05:41:16 +00:00
|
|
|
|
// -*- Coding: utf-8; -*-
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
|
// Copyright (c) 1999-2001, International Business Machines
|
|
|
|
|
// Corporation and others. All Rights Reserved.
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
|
// THIS IS A MACHINE-GENERATED FILE
|
|
|
|
|
// Tool: dumpICUrules.bat
|
|
|
|
|
// Source: ../../text/resources/Transliterator_Any_Publishing.txt
|
2001-11-07 18:50:25 +00:00
|
|
|
|
// Date: Wed Nov 7 09:34:03 2001
|
2001-10-26 05:41:16 +00:00
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
// Any_Publishing
|
|
|
|
|
|
|
|
|
|
translit_Any_Publishing {
|
|
|
|
|
Rule {
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
|
// Copyright (c) 1999-2001, International Business Machines
|
|
|
|
|
// Corporation and others. All Rights Reserved.
|
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
|
// $Source: /xsrl/Nsvn/icu/icu/data/Attic/translit_Any_Publishing.txt,v $
|
2001-11-07 18:50:25 +00:00
|
|
|
|
// $Date: 2001/11/07 18:50:25 $
|
|
|
|
|
// $Revision: 1.2 $
|
2001-10-26 05:41:16 +00:00
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
// Test case
|
|
|
|
|
// "The" "(quick)" ('brown') `fox' ` jumped -- "over?"
|
|
|
|
|
|
|
|
|
|
// Variables
|
|
|
|
|
|
2001-11-07 18:50:25 +00:00
|
|
|
|
"$single = \\\' ;"
|
2001-10-26 05:41:16 +00:00
|
|
|
|
"$space = ' ' ;"
|
2001-11-07 18:50:25 +00:00
|
|
|
|
"$double = \\\" ;"
|
|
|
|
|
"$back = \\\` ;"
|
2001-10-26 05:41:16 +00:00
|
|
|
|
"$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} > ;"
|
|
|
|
|
"'--' <> — ;"
|
|
|
|
|
}
|
|
|
|
|
}
|