Lines Matching refs:matches
169 $matches = array();
171 $matches, PREG_OFFSET_CAPTURE);
172 if ($result === false || !$matches) {
176 return $matches[0][1];
181 $matches = array();
183 $matches, PREG_OFFSET_CAPTURE);
184 if ($result === false || !$matches) {
188 return $matches[count($matches) - 1][1];
206 $matches = array();
210 if (preg_match($double, $str, $matches)) {
211 return $matches[1];
212 } else if (preg_match($single, $str, $matches)) {
213 return $matches[1];
349 $matches = $this->findLinksRel($link_attrs_list,
351 if (!$matches) {
354 $first = $matches[0];