Lines Matching refs:matches
56 while (preg_match('/^(.*?)(<' . self::CHEAP_ADDRESS_RE . '>)/s', $input, $matches))
58 if (!empty($matches[1])) $ret[($elements++)] = $matches[1];
59 $ret[('a' . ($elements++))] = $matches[2];
60 $input = substr($input, strlen($matches[0]));
76 while (preg_match('/^(.*?)(<[\x20-\x3A\x3C-\x7E]*>)/s', $input, $matches))
78 if (!empty($matches[1])) $ret[($elements++)] = $matches[1];
79 $ret[('a' . ($elements++))] = $matches[2];
80 $input = substr($input, strlen($matches[0]));
203 if (preg_match('/^.{1,'.($init_chunk-5).'}[^=]{2}(?!=[A-F0-9]{2})/', $string, $matches)
204 || preg_match('/^.{1,'.($init_chunk-6).'}([^=]{0,3})?/', $string, $matches))
206 $ret .= $this->fixLE($matches[0] . "=", $le); //fixLE added 24/08/07
207 $string = substr($string, strlen($matches[0]));
212 while (preg_match('/^.{1,'.($init_chunk-5).'}[^=]{2}(?!=[A-F0-9]{2})/', $string, $matches)
213 || preg_match('/^.{1,'.($chunk-6).'}([^=]{0,3})?/', $string, $matches)
214 || (strlen($string) > 0 && $matches = array($string)))
216 $ret .= $this->fixLE($le . $matches[0] . "=", $le); //fixLE added 24/08/07
217 $string = substr($string, strlen($matches[0]));
435 preg_match_all('~.{1,'.($chunk-6).'}([^%]{0,3})~', $str, $matches);
436 if (count($matches[0])) return implode($le, $matches[0]);