Searched refs:trailingCharsMatcher (Results 1 – 2 of 2) sorted by relevance
276 Matcher trailingCharsMatcher = pattern.matcher(candidate); in trimAfterFirstMatch() local277 if (trailingCharsMatcher.find()) { in trimAfterFirstMatch()278 candidate = candidate.subSequence(0, trailingCharsMatcher.start()); in trimAfterFirstMatch()
693 Matcher trailingCharsMatcher = UNWANTED_END_CHAR_PATTERN.matcher(number);694 if (trailingCharsMatcher.find()) {695 number = number.substring(0, trailingCharsMatcher.start());