ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Less Utils. More...
Data Fields | |
const | REGEX_IMPORTS = '/@import(?:-once)? (?:\([a-z]*\) )?(?:url\()?(\'|"|)(?P<url>[^\'"\)\n\r]*)\1\)?;?/' |
const | REGEX_IMPORTS_NO_URLS = '/@import(?:-once)? (?:\([a-z]*\) )?(?!url\()(\'|"|)(?P<url>[^\'"\)\n\r]*)\1;?/' |
const | REGEX_COMMENTS = '/((?:\/\*[^*]*\*+(?:[^\/][^*]*\*+)*\/)|\/\/[^\n]+)/' |
![]() | |
const | REGEX_URLS = '/url\((["\']?)(?P<url>.*?)(\\1)\)/' |
const | REGEX_IMPORTS = '/@import (?:url\()?(\'|"|)(?P<url>[^\'"\)\n\r]*)\1\)?;?/' |
const | REGEX_IMPORTS_NO_URLS = '/@import (?!url\()(\'|"|)(?P<url>[^\'"\)\n\r]*)\1;?/' |
const | REGEX_IE_FILTERS = '/src=(["\']?)(?P<url>.*?)\\1/' |
const | REGEX_COMMENTS = '/(\/\*[^*]*\*+(?:[^\/][^*]*\*+)*\/)/' |
Additional Inherited Members | |
![]() | |
static | filterReferences ($content, $callback) |
Filters all references – url() and "@import" – through a callable. More... | |
static | filterUrls ($content, $callback) |
Filters all CSS url()'s through a callable. More... | |
static | filterImports ($content, $callback, $includeUrl=true) |
Filters all CSS imports through a callable. More... | |
static | filterIEFilters ($content, $callback) |
Filters all IE filters (AlphaImageLoader filter) through a callable. More... | |
static | filterCommentless ($content, $callback) |
Filters each non-comment part through a callable. More... | |
static | extractImports ($content) |
Extracts all references from the supplied CSS content. More... | |
Less Utils.
Definition at line 19 of file LessUtils.php.
const Assetic\Util\LessUtils::REGEX_COMMENTS = '/((?:\/\*[^*]*\*+(?:[^\/][^*]*\*+)*\/)|\/\/[^\n]+)/' |
Definition at line 23 of file LessUtils.php.
const Assetic\Util\LessUtils::REGEX_IMPORTS = '/@import(?:-once)? (?:\([a-z]*\) )?(?:url\()?(\'|"|)(?P<url>[^\'"\)\n\r]*)\1\)?;?/' |
Definition at line 21 of file LessUtils.php.
const Assetic\Util\LessUtils::REGEX_IMPORTS_NO_URLS = '/@import(?:-once)? (?:\([a-z]*\) )?(?!url\()(\'|"|)(?P<url>[^\'"\)\n\r]*)\1;?/' |
Definition at line 22 of file LessUtils.php.