Lines Matching refs:wanted_re

1913 		$wanted_re = preg_replace('/\r\n/', "\n", $wanted);
1921 $length = strlen($wanted_re);
1923 $start = strpos($wanted_re, $r, $startOffset);
1926 $end = strpos($wanted_re, $r, $start+2);
1936 $temp = $temp . preg_quote(substr($wanted_re, $startOffset, ($start - $startOffset)), '/');
1939 $temp = $temp . '(' . substr($wanted_re, $start+2, ($end - $start-2)). ')';
1943 $wanted_re = $temp;
1945 $wanted_re = str_replace(
1948 $wanted_re
1950 $wanted_re = str_replace(
1953 $wanted_re
1955 $wanted_re = str_replace(
1958 $wanted_re
1960 $wanted_re = str_replace(
1963 $wanted_re
1966 $wanted_re = str_replace('%e', '\\' . DIRECTORY_SEPARATOR, $wanted_re);
1967 $wanted_re = str_replace('%s', '[^\r\n]+', $wanted_re);
1968 $wanted_re = str_replace('%S', '[^\r\n]*', $wanted_re);
1969 $wanted_re = str_replace('%a', '.+', $wanted_re);
1970 $wanted_re = str_replace('%A', '.*', $wanted_re);
1971 $wanted_re = str_replace('%w', '\s*', $wanted_re);
1972 $wanted_re = str_replace('%i', '[+-]?\d+', $wanted_re);
1973 $wanted_re = str_replace('%d', '\d+', $wanted_re);
1974 $wanted_re = str_replace('%x', '[0-9a-fA-F]+', $wanted_re);
1975 $wanted_re = str_replace('%f', '[+-]?\.?\d+\.?\d*(?:[Ee][+-]?\d+)?', $wanted_re);
1976 $wanted_re = str_replace('%c', '.', $wanted_re);
1984 if (preg_match("/^$wanted_re\$/s", $output)) {
2035 $wanted_re = null;
2044 if (isset($wanted_re)) {
2045 $wanted_re = preg_quote($wanted_headers . "\n--HEADERS--\n", '/') . $wanted_re;
2079 $diff = generate_diff($wanted, $wanted_re, $output);
2251 function generate_diff($wanted, $wanted_re, $output) argument
2255 $r = is_null($wanted_re) ? $w : explode("\n", $wanted_re);
2256 $diff = generate_array_diff($r, $o, !is_null($wanted_re), $w);