public static function parse($input)
    {
        if (strncmp('---', $input, 3) === 0) {
            // Split blocks only if '---' is followed by 'FieldType'
            $blocks = preg_split(
                '/^---(\r\n|\n|\r)(?=FieldType:)/m',
                substr($input,3 )
            );
            return array_map('\mikehaertl\pdftk\DataFields::parseBlock', $blocks);
        } else {
            return self::parseBlock($input);
        }
    }