private static String parsePercentage(String text){
  Matcher m=percentagePattern.matcher(text);
  return m.matches() ? m.group(1) + '%' : null;
}

private static String parsePercentage ( String text ) { Matcher m = percentagePattern . matcher ( text ) ; return m . matches ( ) ? m . group ( 1 ) + '%' : null ; }
note returns canonicalized percentage expression in a string - not the percentage itself
