public static String extractCellParameter ( FitCell cell ) { final Matcher matcher = PARAMETER_PATTERN . matcher ( cell . getFitValue ( ) ) ; if ( matcher . matches ( ) ) { cell . setFitValue ( matcher . group ( 1 ) ) ; return matcher . group ( 2 ) ; } else { return null ; } }
extracts and removes parameters from a cell .