Lines Matching refs:thisRule
162 LocalPointer<BreakRule> thisRule(new BreakRule); in addRule() local
163 thisRule->fName = name; in addRule()
164 thisRule->fRule = definition; in addRule()
182 fSetRefsMatcher->appendReplacement(thisRule->fExpandedRule, emptyString, status); in addRule()
183 thisRule->fExpandedRule.append(expansionForName); in addRule()
185 fSetRefsMatcher->appendTail(thisRule->fExpandedRule); in addRule()
189 if (thisRule->fExpandedRule.charAt(0) == u'^') { in addRule()
190 thisRule->fInitialMatchOnly = true; in addRule()
191 thisRule->fExpandedRule.remove(0, 1); in addRule()
192 thisRule->fExpandedRule.trim(); in addRule()
198 int32_t dividePos = thisRule->fExpandedRule.indexOf((UChar)0x00f7); in addRule()
200 thisRule->fExpandedRule.replace(dividePos, 1, UnicodeString("(?<BreakPosition>)")); in addRule()
202 if (thisRule->fExpandedRule.indexOf((UChar)0x00f7) != -1) { in addRule()
212 while ((where = thisRule->fExpandedRule.indexOf(emptySet, 2, 0)) >= 0) { in addRule()
213 thisRule->fExpandedRule.replace(where, 2, UnicodeString("[^\\u0000-\\U0010ffff]")); in addRule()
216 printf("fExpandedRule: %s\n", CStr(thisRule->fExpandedRule)()); in addRule()
220 …thisRule->fRuleMatcher.adoptInstead(new RegexMatcher(thisRule->fExpandedRule, UREGEX_COMMENTS | UR… in addRule()
223 __FILE__, __LINE__, CStr(thisRule->fExpandedRule)()); in addRule()
228 fBreakRules.addElement(thisRule.orphan(), status); in addRule()