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()
644 Matcher trailingCharsMatcher = UNWANTED_END_CHAR_PATTERN.matcher(number);645 if (trailingCharsMatcher.find()) {646 number = number.substring(0, trailingCharsMatcher.start());