mirror of
https://github.com/reactos/reactos.git
synced 2024-11-10 16:48:16 +00:00
c424146e2c
svn path=/branches/cmake-bringup/; revision=48236
32 lines
No EOL
872 B
Text
32 lines
No EOL
872 B
Text
# 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; |