public static String appendTail(Matcher matcher,StringBuffer sb){
  matcher.appendTail(sb);
  return sb.toString();
}

public static String appendTail ( Matcher matcher , StringBuffer sb ) { matcher . appendTail ( sb ) ; return sb . toString ( ) ; }
invokes append tail on matcher with the given string buffer , and returns the string buffer as a string .
