classes/phing/util/regexp/Regexp.php
public function getGroup($idx)
    {
        if (!isset($this->groups[$idx])) {
            return null;
        }

        return $this->groups[$idx];
    }
public function getGroup($idx)
    {
        if (!isset($this->groups[$idx])) {
            return null;
        }

        return $this->groups[$idx];
    }
public function getGroup ( $ idx ) { if ( ! isset ( $ this -> groups [ $ idx ] ) ) { return null ; } return $ this -> groups [ $ idx ] ; }
Get specific matched group.

@param  integer $idx
@return string  specified group or NULL if group is not set.
Get specific matched group .