Searched refs:getPatternForRegex (Results 1 – 4 of 4) sorted by relevance
39 regexCache.getPatternForRegex(regex1); in testRegexInsertion()42 regexCache.getPatternForRegex(regex2); in testRegexInsertion()46 regexCache.getPatternForRegex(regex1); in testRegexInsertion()49 regexCache.getPatternForRegex(regex3); in testRegexInsertion()
209 Pattern leadingDigitsPattern = regexCache.getPatternForRegex( in narrowDownPossibleFormats()247 Matcher m = regexCache.getPatternForRegex(numberPattern).matcher(longestPhoneNumber); in getFormattingTemplate()428 Matcher m = regexCache.getPatternForRegex(numberFormat.getPattern()).matcher(nationalNumber); in attemptToFormatAccruedDigits()539 regexCache.getPatternForRegex(currentMetadata.getNationalPrefixForParsing()); in removeNationalPrefixFromNationalNumber()566 regexCache.getPatternForRegex("\\" + PhoneNumberUtil.PLUS_SIGN + "|" + in attemptToExtractIdd()
35 public Pattern getPatternForRegex(String regex) { in getPatternForRegex() method in RegexCache
1788 if (size == 0 || regexCache.getPatternForRegex(1791 Matcher m = regexCache.getPatternForRegex(numFormat.getPattern()).matcher(nationalNumber);1815 regexCache.getPatternForRegex(formattingPattern.getPattern()).matcher(nationalNumber);2066 regexCache.getPatternForRegex(numberDesc.getPossibleNumberPattern())2073 regexCache.getPatternForRegex(numberDesc.getNationalNumberPattern())2162 if (regexCache.getPatternForRegex(metadata.getLeadingDigits())2344 Pattern possibleNumberPattern = regexCache.getPatternForRegex(2398 regexCache.getPatternForRegex(generalNumDesc.getPossibleNumberPattern());2566 regexCache.getPatternForRegex(generalDesc.getNationalNumberPattern());2570 regexCache.getPatternForRegex(generalDesc.getPossibleNumberPattern());[all …]