1 # Copyright (C) 2016 and later: Unicode, Inc. and others.
2 # License & terms of use: http://www.unicode.org/copyright.html
4 # Copyright (c) 2002-2015, International Business Machines Corporation and
5 # others. All Rights Reserved.
7 # Title Casing Break Rules
10 !!quoted_literals_only;
12 $CaseIgnorable = [[:Mn:][:Me:][:Cf:][:Lm:][:Sk:] \u0027 \u00AD \u2019];
13 $Cased = [[:Upper_Case:][:Lower_Case:][:Lt:] - $CaseIgnorable];
14 $NotCased = [[^ $Cased] - $CaseIgnorable];
16 # If the iterator begins on a CaseIgnorable, advance it past it/them.
17 # This can occur at the start-of-text, or after application of the
20 ($CaseIgnorable | $NotCased)*;
22 # Normal exact forward rule: beginning at the start of a word
23 # (at a cased character), advance through the word and through
24 # the uncased characters following the word.
26 $Cased ($Cased | $CaseIgnorable)* ($NotCased | $CaseIgnorable)*;