private function pathMatcher($input, $catchPath)
    {
        // ensure request path is prefix with slash
        $requestPath = '/'.ltrim($input, '/');
        // see if wildcard string matches
        if (StringHelper::startsWithWildcard($requestPath, $catchPath)) {
            return true;
        }
        // compare strings
        return ($requestPath == $catchPath);
    }