'Calculates the final progress value found by the regex'

def _calculate_progress(self, match):

    if (not self.progress_expr):
        return safe_float(match.group(1))
    else:
        return self._eval_progress(match)
