Lines Matching refs:string
3 function &parse_css_property($string, &$pipeline) { argument
4 $collection =& parse_css_properties($string, $pipeline);
8 function &parse_css_properties($string, &$pipeline) { argument
11 while ($string != '') {
12 $string = parse_css_properties_property($string, $code);
14 if (preg_match('/^\s*:\s*(.*?)$/si', $string, $matches)) {
15 $string = $matches[1];
18 $string = parse_css_properties_value($string, $value);
20 if (preg_match('/^\s*;\s*(.*)$/si', $string, $matches)) {
21 $string = $matches[1];
33 function parse_css_properties_property($string, &$code) { argument
36 if (!preg_match(sprintf('/^\s*(%s)(.*)/si', $identifier_regexp), $string, $matches)) {
47 function parse_css_properties_value($string, &$value) { argument
56 list($new_value, $string) = CSS::parse_string($string);
62 … if (preg_match('/^('.CSS_FUNCTION_REGEXP.CSS_IDENT_REGEXP.'\))\s*(.*)$/si', $string, $matches)) {
64 $string = $matches[2];
70 if (preg_match(sprintf('/^(%s)(\s*;.*)/si', $value_regexp), $string, $matches)) {
77 $value = $value.trim($string);