protected function compileList(array &$list, array $delegates)
    {
        $return = [];

        foreach ($list as $name) {
            $return[] = preg_grep('/'.$name.'/', $delegates);
        }

        return call_user_func_array('array_merge', $return);
    }