public static function replaceSpecialRange(SemverConverter $converter, $match)
    {
        $newMatch = $converter->convertVersion($match);
        $newMatch = '>='.static::standardizeVersion(SemverUtil::replaceAlias($newMatch, '>')).',<';
        $exp = static::getSplittedVersion($match);
        $increase = false;

        foreach ($exp as $i => $sub) {
            if (static::analyzeSubVersion($i, $exp, $increase)) {
                continue;
            }

            static::increaseSubVersion($i, $exp, $increase);
        }

        $newMatch .= $converter->convertVersion(static::standardizeVersion($exp));

        return $newMatch;
    }
public static function replaceSpecialRange(SemverConverter $converter, $match)
    {
        $newMatch = $converter->convertVersion($match);
        $newMatch = '>='.static::standardizeVersion(SemverUtil::replaceAlias($newMatch, '>')).',<';
        $exp = static::getSplittedVersion($match);
        $increase = false;

        foreach ($exp as $i => $sub) {
            if (static::analyzeSubVersion($i, $exp, $increase)) {
                continue;
            }

            static::increaseSubVersion($i, $exp, $increase);
        }

        $newMatch .= $converter->convertVersion(static::standardizeVersion($exp));

        return $newMatch;
    }
public static function replaceSpecialRange ( SemverConverter $ converter , $ match ) { $ newMatch = $ converter -> convertVersion ( $ match ) ; $ newMatch = '>=' . static :: standardizeVersion ( SemverUtil :: replaceAlias ( $ newMatch , '>' ) ) . ',<' ; $ exp = static :: getSplittedVersion ( $ match ) ; $ increase = false ; foreach ( $ exp as $ i => $ sub ) { if ( static :: analyzeSubVersion ( $ i , $ exp , $ increase ) ) { continue ; } static :: increaseSubVersion ( $ i , $ exp , $ increase ) ; } $ newMatch .= $ converter -> convertVersion ( static :: standardizeVersion ( $ exp ) ) ; return $ newMatch ; }
Replaces the special range "^".

@param SemverConverter $converter The semver converter
@param string          $match     The match version

@return string the new match version
Replaces the special range ^ .