Lines Matching refs:matches
185 while (preg_match('/^(.*?)@page(.*)/is', $css, $matches)) {
186 $data = $matches[2];
187 $css = $matches[1].parse_css_atpage_rule(trim($data), $css_ruleset);
196 if (!preg_match('/^(.*?){(.*)$/is', $css, $matches)) {
200 $raw_selector = trim($matches[1]);
201 $css = trim($matches[2]);
211 while (preg_match('/^(.*?)(;|@|})(.*)$/is', $css, $matches)) {
212 $raw_prefix = trim($matches[1]);
213 $raw_token = trim($matches[2]);
214 $raw_suffix = trim($matches[3]);
282 if (!preg_match("/^([-\w]*)\s*{(.*)/is",$css,$matches)) {
287 $raw_margin_box_selector = trim($matches[1]);
288 $css = trim($matches[2]);
297 while (preg_match('/^(.*?)(;|})(.*)$/is', $css, $matches)) {
298 $raw_prefix = trim($matches[1]);
299 $raw_token = trim($matches[2]);
300 $raw_suffix = trim($matches[3]);