Lines Matching refs:wanted_re
1425 $wanted_re = preg_replace('/\r\n/',"\n",$wanted);
1431 $length = strlen($wanted_re);
1433 $start = strpos($wanted_re, $r, $startOffset);
1436 $end = strpos($wanted_re, $r, $start+2);
1446 $temp = $temp . preg_quote(substr($wanted_re, $startOffset, ($start - $startOffset)), '/');
1449 $temp = $temp . '(' . substr($wanted_re, $start+2, ($end - $start-2)). ')';
1453 $wanted_re = $temp;
1455 $wanted_re = str_replace(
1458 $wanted_re
1460 $wanted_re = str_replace(
1463 $wanted_re
1465 $wanted_re = str_replace(
1468 $wanted_re
1470 $wanted_re = str_replace(
1473 $wanted_re
1476 $wanted_re = str_replace('%e', '\\' . DIRECTORY_SEPARATOR, $wanted_re);
1477 $wanted_re = str_replace('%s', '[^\r\n]+', $wanted_re);
1478 $wanted_re = str_replace('%S', '[^\r\n]*', $wanted_re);
1479 $wanted_re = str_replace('%a', '.+', $wanted_re);
1480 $wanted_re = str_replace('%A', '.*', $wanted_re);
1481 $wanted_re = str_replace('%w', '\s*', $wanted_re);
1482 $wanted_re = str_replace('%i', '[+-]?\d+', $wanted_re);
1483 $wanted_re = str_replace('%d', '\d+', $wanted_re);
1484 $wanted_re = str_replace('%x', '[0-9a-fA-F]+', $wanted_re);
1485 $wanted_re = str_replace('%f', '[+-]?\.?\d+\.?\d*(?:[Ee][+-]?\d+)?', $wanted_re);
1486 $wanted_re = str_replace('%c', '.', $wanted_re);
1495 $failed = !preg_match("/^$wanted_re\$/s", $output);