Minify_CSS_UriRewriter::_owlifySvgPaths PHP Method

_owlifySvgPaths() private static method

Mungs some inline SVG URL declarations so they won't be touched
See also: _unOwlify
private static _owlifySvgPaths ( string $css ) : string
$css string
return string
    private static function _owlifySvgPaths($css)
    {
        $pattern = '~\\b((?:clip-path|mask|-webkit-mask)\\s*\\:\\s*)url(\\(\\s*#\\w+\\s*\\))~';
        return preg_replace($pattern, '$1owl$2', $css);
    }