Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: icu46/source/data/brkitr/title.txt

Issue 5516007: Check in the pristine copy of ICU 4.6... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « icu46/source/data/brkitr/thaidict.txt ('k') | icu46/source/data/brkitr/word.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: icu46/source/data/brkitr/title.txt
===================================================================
--- icu46/source/data/brkitr/title.txt (revision 0)
+++ icu46/source/data/brkitr/title.txt (revision 0)
@@ -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;
Property changes on: icu46/source/data/brkitr/title.txt
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « icu46/source/data/brkitr/thaidict.txt ('k') | icu46/source/data/brkitr/word.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698