Lines Matching refs:matches

111         if (preg_match('/<FORM(.*?)>/i', $match, $matches))
113 if (preg_match('/(action)/i', $matches[1], $action))
116 } elseif (preg_match('/(onsubmit)/i', $matches[1], $onsubmit))
125 elseif (preg_match('/<IFRAME/i', $match, $matches))
129 elseif (preg_match('/<ILAYER/i', $match, $matches))
133 elseif (preg_match('/<(DIV)/i', $match, $matches))
136 return $this->getError(HTML_OK_NOTSUPPORTED, $match, $matches[1], "div");
146 elseif (preg_match('/<TABLE/i', $match, $matches))
171 } elseif (preg_match('/<IFRAME/i', $match, $matches))
175 elseif (preg_match('/<ILAYER/i', $match, $matches))
179 } elseif (preg_match('/<(DIV)/i', $match, $matches))
182 return $this->getError(HTML_OK_NOTSUPPORTED, $match, $matches[1], "div");
184 } elseif (preg_match('/<TABLE/i', $match, $matches))
206 if (preg_match('/<FORM(.*?)>/i', $match, $matches))
208 if (preg_match('/action/i', $matches[1]))
210 return $this->getError(HTML_OK_NOTSUPPORTED, $match, $matches[1], "form");
218 } elseif (preg_match('/<(IFRAME|ILAYER)/i', $match, $matches))
220 return $this->getError(HTML_OK_EXCLUDEDWINDOW, $match, $matches[1], "");
273 if (preg_match('/(ActiveX|XMLHttpRequest)/i', $match, $matches))
275 return $this->getError(HTML_OK_NOTSUPPORTED, $match, $matches[1]);
278 …eg_match('/(onsubmit|addEventListener|createEvent|attachEvent|captureEvents)/i', $match, $matches))
280 return $this->getError(HTML_OK_NOTSUPPORTED, $match, $matches[1]);
284 if (preg_match_all('/function\s+(.*?)[\s\n]*\(/i', $match, $matches))
287 foreach($matches[1] as $index => $m)
304 if (preg_match('/id\s*=\s*\W?(.*)/i', $match, $matches))
306 if (isset($matches[1]) && !preg_match('/^htmlO_K_/', $matches[1]))
309 $value = rtrim($matches[1], ' ">');
314 if (preg_match('/class\s*=\s*\W?(.*)/i', $match, $matches))
316 if (isset($matches[1]) && !preg_match('/^htmlO_K_/', $matches[1]))
319 $value = rtrim($matches[1], ' "');
336 if ($level == 2 && preg_match_all('/(#\w+)/', $match, $matches))
339 foreach($matches[1] as $index => $m)
349 if (preg_match_all('/\.(\w+)/', $match, $matches))
352 foreach($matches[1] as $index => $m)
418 if (preg_match('/<h(\d)>.*?<\/\\1>/i', $match, $matches))
420 … $match = preg_replace('/<h\d>/', '<h' . $matches[1] . ' style="border-bottom:0px;">', $match);