protected function _matchColumnString($column)
    {
        $matches = [];
        if (!preg_match('/^([\w\.]+)(:(\w*))?(:(.*))?$/', $column, $matches)) {
            throw new InvalidConfigException(\Yii::t('skeeks/cms',
                "Invalid column configuration for '{column}'. The column must be specified in the format of 'attribute', 'attribute:format' or 'attribute:format: label'.",
                ['column' => $column]));
        }
        return $matches;
    }
protected function _matchColumnString($column)
    {
        $matches = [];
        if (!preg_match('/^([\w\.]+)(:(\w*))?(:(.*))?$/', $column, $matches)) {
            throw new InvalidConfigException(\Yii::t('skeeks/cms',
                "Invalid column configuration for '{column}'. The column must be specified in the format of 'attribute', 'attribute:format' or 'attribute:format: label'.",
                ['column' => $column]));
        }
        return $matches;
    }
protected function _matchColumnString ( $ column ) { $ matches = [ ] ; if ( ! preg_match ( '/^([\w\.]+)(:(\w*))?(:(.*))?$/' , $ column , $ matches ) ) { throw new InvalidConfigException ( \ Yii :: t ( 'skeeks/cms' , "Invalid column configuration for '{column}'. The column must be specified in the format of 'attribute', 'attribute:format' or 'attribute:format: label'." , [ 'column' => $ column ] ) ) ; } return $ matches ; }
Finds the matches for a string column format

@param string $column

@return mixed
@throws \yii\base\InvalidConfigException
Finds the matches for a string column format