Lines Matching refs:preg_match
22 if (preg_match("/^normal|italic|oblique$/",$value)) { return FONT_VALUE_STYLE; }
23 if (preg_match("/^normal|bold|bolder|lighter|[1-9]00$/",$value)) { return FONT_VALUE_WEIGHT; }
25 if (preg_match("#/#",$value)) { return FONT_VALUE_SIZE; }
26 if (preg_match("#^\d+\.?\d*%$#",$value)) { return FONT_VALUE_SIZE; }
27 …if (preg_match("#^(xx-small|x-small|small|medium|large|x-large|xx-large)$#",$value)) { return FONT…
28 if (preg_match("#^(larger|smaller)$#",$value)) { return FONT_VALUE_SIZE; }
29 if (preg_match("#^(\d*(.\d*)?(pt|pc|in|mm|cm|px|em|ex))$#",$value)) { return FONT_VALUE_SIZE; }
116 …if ($family_running && $family_double_quote && !preg_match('/^[^"]*("[^"]*")*[^"]*$/',$current_val…
118 …} elseif ($family_running && !$family_double_quote && !preg_match("/^[^']*('[^']*')*[^']*$/",$curr…
120 } elseif (!$family_running && !preg_match("/^[^']*('[^']*')*[^']*$/",$current_value)) {
124 } elseif (!$family_running && !preg_match('/^[^"]*("[^"]*")*[^"]*$/',$current_value)) {