Lines Matching refs:pattern
91 $pattern = '(' . $header;
100 $pattern .= sprintf($rowPattern, $name, $value, $name);
102 $pattern .= sprintf($rowPattern, $name, $value);
105 $pattern = rtrim($pattern, $rowPattern[strlen($rowPattern) - 1]);
106 $pattern .= $footer . ')';
108 if (!preg_match($pattern, $body)) {
109 echo "ERROR: Expected body does not match pattern\n";
113 var_dump($pattern);
209 …$pattern = "(# HELP phpfpm_up Could pool " . $fields['pool'] . " using a " . $fields['process mana…
247 if (!preg_match($pattern, $body)) {
248 echo "ERROR: Expected body does not match pattern\n";
252 var_dump($pattern);