+
+ // If the iterator failed to advance in the match engine, force it ahead by one.
+ // (This really indicates a defect in the break rules. They should always match
+ // at least one character.). Added in open-source ICU r13469
+ UBool setFlagsZero = FALSE;
+ if (result == prev) {
+ UTEXT_SETNATIVEINDEX(text, prev);
+ UTEXT_NEXT32(text);
+ result = (int32_t)UTEXT_GETNATIVEINDEX(text);
+ setFlagsZero = TRUE;
+ }
+