gear/Routing/Route.php
/**
     * Replace with user regexp for match parameter.
     *
     * @param array $match
     *
     * @return string
     */
Replace with user regexp for match parameter.
@param array $match

@return string
Replace with user regexp for match parameter . @param array $match @return string
protected function matchParams($match)
    {
        if (isset($this->params[$match[1]])) {
            return '(' . $this->params[$match[1]] . ')';
        }
        return '([^/]+)';
    }
protected function matchParams ( $ match ) { if ( isset ( $ this -> params [ $ match [ 1 ] ] ) ) { return '(' . $ this -> params [ $ match [ 1 ] ] . ')' ; } return '([^/]+)' ; }
Replace with user regexp for match parameter.
Replace with user regexp for match parameter .