public function getRegexp($nameRegex, $valueRegex = null)
    {
        $this->arguments[] = '--get-regexp';
        $this->addNameAndPattern($nameRegex, $valueRegex);
        return $this;
    }
public function getRegexp($nameRegex, $valueRegex = null)
    {
        $this->arguments[] = '--get-regexp';
        $this->addNameAndPattern($nameRegex, $valueRegex);
        return $this;
    }
public function getRegexp ( $ nameRegex , $ valueRegex = null ) { $ this -> arguments [ ] = '--get-regexp' ; $ this -> addNameAndPattern ( $ nameRegex , $ valueRegex ) ; return $ this ; }
Add the get-regexp option and associated parameters to the command line.

@param string      $nameRegex  The config name regex.

@param null|string $valueRegex The value regex to use.

@return ConfigCommandBuilder
Add the get - regexp option and associated parameters to the command line .