Lines Matching refs:matches
116 while (preg_match("/^(.*?)@media([^{]+){(.*)$/s",$css,$matches)) {
117 $head = $matches[1];
118 $media = $matches[2];
119 $rest = $matches[3];
127 if (!preg_match("/^((?:[^{}]*{[^{}]*})*)[^{}]*\s*}(.*)$/s", $rest, $matches)) {
130 $content = $matches[1];
131 $tail = $matches[2];
175 if (preg_match("/@import\s+[\"'](.*)[\"'];/",$import, $matches)) {
177 $this->css_import(trim($matches[1]), $pipeline);
178 } elseif (preg_match("/@import\s+url\((.*)\);/",$import, $matches)) {
180 $this->css_import(trim(css_remove_value_quotes($matches[1])), $pipeline);
181 } elseif (preg_match("/@import\s+(.*);/",$import, $matches)) {
183 $this->css_import(trim(css_remove_value_quotes($matches[1])), $pipeline);
195 if ($num = preg_match_all("/@import[^;]+;/",$css, $matches, PREG_PATTERN_ORDER)) {
197 $this->parse_css_import($matches[0][$i], $pipeline);
204 while (preg_match("/([^{}]*){(.*?)}(.*)/is", $css, $matches)) {
206 $css = $matches[3];
209 $raw_selectors = $matches[1];
210 $raw_properties = $matches[2];