src/FieldHandlers/CsvField.php
protected function _extractType(string $type) : string
    {
        if (preg_match(static::PATTERN_TYPE, $type, $matches)) {
            if (! empty($matches[1])) {
                return $matches[1];
            }
        }

        return $type;
    }
protected function _extractType(string $type) : string
    {
        if (preg_match(static::PATTERN_TYPE, $type, $matches)) {
            if (! empty($matches[1])) {
                return $matches[1];
            }
        }

        return $type;
    }
protected function _extractType ( string $ type ) : string { if ( preg_match ( static :: PATTERN_TYPE , $ type , $ matches ) ) { if ( ! empty ( $ matches [ 1 ] ) ) { return $ matches [ 1 ] ; } } return $ type ; }
Extract field type from type value

Field type can be either simple or combined
with limit.  For example:

* Simple: uuid, string, date.
* Combined: string(100), list(Foo).

In case of a simple type, it is returned as is.  For
the combined typed, the limit is stripped out and a
simple type only is returned.

@param  string $type field type
@return string       field type
Extract field type from type value