private String toString(Matcher m,int group){
  return (group == 0) ? "" : m.group(group);
}

private String toString ( Matcher m , int group ) { return ( group == 0 ) ? "" : m . group ( group ) ; }
captures the group passed in by matching against a pattern .
