Lines Matching defs:regs
28 while (preg_match($z["regex"], $q, $regs))
30 array_push($extra[$z["sqlpart"]], sprintf($z["sql"], $regs[1]));
35 $regs = array();
37 if (preg_match("/^\s*\[?(\d+)\]?\s*$/", $_GET["q"], $regs))
39 $_GET["q"] = $regs[1];
40 $where = "WHERE `bugid` = $regs[1]";
43 else if (preg_match("/(\S)/", $q, $regs) || sizeof($extra["where"]) + sizeof($extra["having"]) > 0)
46 if (sizeof($regs) > 0)
250 preg_match_all("/\"([^\"]+)\"/", $str, $regs);
251 foreach ($regs[1] as $word)
258 $regs = null;
259 preg_match_all("/(\w+)/", $str, $regs);
260 foreach ($regs[1] as $word)