Searched refs:stateMatch (Results 1 – 1 of 1) sorted by relevance
333 private static boolean isValidZipCode(String zipCode, MatchResult stateMatch) { in isValidZipCode() argument334 if (stateMatch == null) return false; in isValidZipCode()336 int stateIndex = stateMatch.groupCount(); in isValidZipCode()338 if (stateMatch.group(stateIndex--) != null) break; in isValidZipCode()422 MatchResult stateMatch = matchState(content, it); in attemptMatch() local423 if (stateMatch != null) { in attemptMatch()424 if (lastWord.equals("et") && stateMatch.group(0).equals("al")) { in attemptMatch()426 it = stateMatch.end(); in attemptMatch()432 if (zipMatcher.find(stateMatch.end())) { in attemptMatch()433 if (isValidZipCode(zipMatcher.group(0), stateMatch)) { in attemptMatch()[all …]