Home
last modified time | relevance | path

Searched refs:parseRegexp (Results 1 – 2 of 2) sorted by relevance

/external/icu/icu4c/source/i18n/
Duspoof_wsconf.cpp107 URegularExpression *parseRegexp = NULL; in buildWSConfusableData() local
156 parseRegexp = uregex_open(pattern.getBuffer(), pattern.length(), 0, NULL, &status); in buildWSConfusableData()
165 uregex_setText(parseRegexp, input, inputLen, &status); in buildWSConfusableData()
166 while (uregex_findNext(parseRegexp, &status)) { in buildWSConfusableData()
168 if (uregex_start(parseRegexp, 1, &status) >= 0) { in buildWSConfusableData()
172 if (uregex_start(parseRegexp, 8, &status) >= 0) { in buildWSConfusableData()
183 … input, uregex_start(parseRegexp, 2, &status), uregex_end(parseRegexp, 2, &status), status); in buildWSConfusableData()
185 if (uregex_start(parseRegexp, 3, &status) >=0) { in buildWSConfusableData()
187 … input, uregex_start(parseRegexp, 3, &status), uregex_end(parseRegexp, 3, &status), status); in buildWSConfusableData()
195 extractGroup(parseRegexp, 4, srcScriptName, sizeof(srcScriptName), status); in buildWSConfusableData()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DSpoofChecker.java715 Pattern parseRegexp = null; in buildWSConfusableData() local
745 parseRegexp = Pattern.compile(parseExp); in buildWSConfusableData()
755 Matcher matcher = parseRegexp.matcher(input); in buildWSConfusableData()