diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:47:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:47:29 +0000 |
commit | 0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d (patch) | |
tree | a31f07c9bcca9d56ce61e9a1ffd30ef350d513aa /intl/icu/source/data/brkitr/rules/title.txt | |
parent | Initial commit. (diff) | |
download | firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.tar.xz firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.zip |
Adding upstream version 115.8.0esr.upstream/115.8.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'intl/icu/source/data/brkitr/rules/title.txt')
-rw-r--r-- | intl/icu/source/data/brkitr/rules/title.txt | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/intl/icu/source/data/brkitr/rules/title.txt b/intl/icu/source/data/brkitr/rules/title.txt new file mode 100644 index 0000000000..3be2d3097c --- /dev/null +++ b/intl/icu/source/data/brkitr/rules/title.txt @@ -0,0 +1,26 @@ +# Copyright (C) 2016 and later: Unicode, Inc. and others. +# License & terms of use: http://www.unicode.org/copyright.html +# +# Copyright (c) 2002-2015, International Business Machines Corporation and +# others. All Rights Reserved. +# +# Title Casing Break Rules +# + +!!quoted_literals_only; + +$CaseIgnorable = [[:Mn:][:Me:][:Cf:][:Lm:][:Sk:] \u0027 \u00AD \u2019]; +$Cased = [[:Upper_Case:][:Lower_Case:][:Lt:] - $CaseIgnorable]; +$NotCased = [[^ $Cased] - $CaseIgnorable]; + +# If the iterator begins on a CaseIgnorable, advance it past it/them. +# This can occur at the start-of-text, or after application of the +# safe-reverse rule. + +($CaseIgnorable | $NotCased)*; + +# Normal exact forward rule: beginning at the start of a word +# (at a cased character), advance through the word and through +# the uncased characters following the word. + +$Cased ($Cased | $CaseIgnorable)* ($NotCased | $CaseIgnorable)*; |