Lines Matching refs:matches
14 if (preg_match('/^\s*:\s*(.*?)$/si', $string, $matches)) {
15 $string = $matches[1];
20 if (preg_match('/^\s*;\s*(.*)$/si', $string, $matches)) {
21 $string = $matches[1];
36 if (!preg_match(sprintf('/^\s*(%s)(.*)/si', $identifier_regexp), $string, $matches)) {
41 $name = strtolower(trim($matches[1]));
42 $rest = $matches[2];
62 … if (preg_match('/^('.CSS_FUNCTION_REGEXP.CSS_IDENT_REGEXP.'\))\s*(.*)$/si', $string, $matches)) {
63 $value .= $matches[1];
64 $string = $matches[2];
70 if (preg_match(sprintf('/^(%s)(\s*;.*)/si', $value_regexp), $string, $matches)) {
71 $value .= trim($matches[1]);
72 $rest = $matches[2];