src/route/RouteConfiguration.js
function routeMatcher(keys) {
    return match => {
        const parseParams = paramsParser(keys);
        if(match) {
            const params = parseParams(match);
            return {
                match,
                keys,
                params,
            }
        }
    }
}
function routeMatcher(keys) {
    return match => {
        const parseParams = paramsParser(keys);
        if(match) {
            const params = parseParams(match);
            return {
                match,
                keys,
                params,
            }
        }
    }
}
function routeMatcher ( keys ) { return match => { const parseParams = paramsParser ( keys ) ; if ( match ) { const params = parseParams ( match ) ; return { match , keys , params , } } } }
A route match instance which parses for URL params based on the specific location
passed into it.

@param {RegExpExecArray} pathMatch - an array of tokens based on the regexp execution
@param {*} keys - the list of parameter keys (:param) to extract from the URI
A route match instance which parses for URL params based on the specific location passed into it .