1 # Copyright (C) 2016 and later: Unicode, Inc. and others. 2 # License & terms of use: http://www.unicode.org/copyright.html 3 # 4 # Copyright (c) 2002-2015, International Business Machines Corporation and 5 # others. All Rights Reserved. 6 # 7 # Title Casing Break Rules 8 # 9 10 !!quoted_literals_only; 11 12 $CaseIgnorable = [[:Mn:][:Me:][:Cf:][:Lm:][:Sk:] \u0027 \u00AD \u2019]; 13 $Cased = [[:Upper_Case:][:Lower_Case:][:Lt:] - $CaseIgnorable]; 14 $NotCased = [[^ $Cased] - $CaseIgnorable]; 15 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 18 # safe-reverse rule. 19 20 ($CaseIgnorable | $NotCased)*; 21 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. 25 26 $Cased ($Cased | $CaseIgnorable)* ($NotCased | $CaseIgnorable)*; 27