summaryrefslogtreecommitdiff
path: root/Build/source/libs/icu/icu-xetex/data/brkitr/title.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/icu/icu-xetex/data/brkitr/title.txt')
-rw-r--r--Build/source/libs/icu/icu-xetex/data/brkitr/title.txt32
1 files changed, 32 insertions, 0 deletions
diff --git a/Build/source/libs/icu/icu-xetex/data/brkitr/title.txt b/Build/source/libs/icu/icu-xetex/data/brkitr/title.txt
new file mode 100644
index 00000000000..e3f6566c901
--- /dev/null
+++ b/Build/source/libs/icu/icu-xetex/data/brkitr/title.txt
@@ -0,0 +1,32 @@
+# Copyright (c) 2002-2003, International Business Machines Corporation and
+# others. All Rights Reserved.
+#
+# Title Casing Break Rules
+#
+
+$CaseIgnorable = [[:Mn:][:Me:][:Cf:][:Lm:][:Sk:] \u0027 \u00AD \u2019];
+$Cased = [[:Upper_Case:][:Lower_Case:][:Lt:] - $CaseIgnorable];
+$NotCased = [^ $Cased];
+
+#
+# If the iterator was not stopped on a cased character, advance it to the first cased char
+#
+$NotCased+;
+
+#
+# If the iterator starts on a cased item, advance through all adjacent cased items plus
+# any non-cased stuff, to reach the start of the next word.
+#
+$Cased ($Cased | $CaseIgnorable)* $NotCased*;
+
+#
+# Reverse Rules
+#
+
+! $NotCased+;
+
+#
+# If the iterator starts on a cased item, advance through all adjacent cased items plus
+# any non-cased stuff, to reach the start of the next word.
+#
+! $NotCased* ($Cased | $CaseIgnorable)* $Cased; \ No newline at end of file