protected function fetchAssets($templateContents, $section)
    {
        $pattern = sprintf('/BEGIN-%1$s[^\w\s]*[\r\n](.*?)[\r\n][^\w]*END-%1$s/s', $section);
        preg_match($pattern, $templateContents, $matches);
        
        return ( ! empty($matches)) ? explode("\n", $matches[1]) : array();
    }