Lines Matching refs:wanted_re
1920 $wanted_re = preg_replace('/\r\n/', "\n", $wanted);
1928 $length = strlen($wanted_re);
1930 $start = strpos($wanted_re, $r, $startOffset);
1933 $end = strpos($wanted_re, $r, $start+2);
1943 $temp = $temp . preg_quote(substr($wanted_re, $startOffset, ($start - $startOffset)), '/');
1946 $temp = $temp . '(' . substr($wanted_re, $start+2, ($end - $start-2)). ')';
1950 $wanted_re = $temp;
1952 $wanted_re = str_replace(
1955 $wanted_re
1957 $wanted_re = str_replace(
1960 $wanted_re
1962 $wanted_re = str_replace(
1965 $wanted_re
1967 $wanted_re = str_replace(
1970 $wanted_re
1973 $wanted_re = str_replace('%e', '\\' . DIRECTORY_SEPARATOR, $wanted_re);
1974 $wanted_re = str_replace('%s', '[^\r\n]+', $wanted_re);
1975 $wanted_re = str_replace('%S', '[^\r\n]*', $wanted_re);
1976 $wanted_re = str_replace('%a', '.+', $wanted_re);
1977 $wanted_re = str_replace('%A', '.*', $wanted_re);
1978 $wanted_re = str_replace('%w', '\s*', $wanted_re);
1979 $wanted_re = str_replace('%i', '[+-]?\d+', $wanted_re);
1980 $wanted_re = str_replace('%d', '\d+', $wanted_re);
1981 $wanted_re = str_replace('%x', '[0-9a-fA-F]+', $wanted_re);
1982 $wanted_re = str_replace('%f', '[+-]?\.?\d+\.?\d*(?:[Ee][+-]?\d+)?', $wanted_re);
1983 $wanted_re = str_replace('%c', '.', $wanted_re);
1991 if (preg_match("/^$wanted_re\$/s", $output)) {
2042 $wanted_re = null;
2051 if (isset($wanted_re)) {
2052 $wanted_re = preg_quote($wanted_headers . "\n--HEADERS--\n", '/') . $wanted_re;
2086 $diff = generate_diff($wanted, $wanted_re, $output);
2258 function generate_diff($wanted, $wanted_re, $output) argument
2262 $r = is_null($wanted_re) ? $w : explode("\n", $wanted_re);
2263 $diff = generate_array_diff($r, $o, !is_null($wanted_re), $w);