Home
last modified time | relevance | path

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

/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DPhoneNumberMatcher.java276 Matcher trailingCharsMatcher = pattern.matcher(candidate); in trimAfterFirstMatch() local
277 if (trailingCharsMatcher.find()) { in trimAfterFirstMatch()
278 candidate = candidate.subSequence(0, trailingCharsMatcher.start()); in trimAfterFirstMatch()
DPhoneNumberUtil.java693 Matcher trailingCharsMatcher = UNWANTED_END_CHAR_PATTERN.matcher(number);
694 if (trailingCharsMatcher.find()) {
695 number = number.substring(0, trailingCharsMatcher.start());