<?php
namespace App\Bsp\HotUA\Lines\Types; class Letters extends \App\Utils\BaseParser\TextParser\BlockRegexpAbstract { protected $extractRegexp = "/^(?P<rawData>([a-zA-Z]__LENGHTS__|[\s]__LENGHTS__))/"; protected function _extract_value(\App\Utils\BaseParser\TextParser\ExtractedBlock $ret, $originalRawData) { $ret = parent::_extract_value($ret, $originalRawData); if( trim($ret->extractedData)=='') { $ret->extractedData = ''; } return $ret; } } 