Lines Matching defs:match
329 if (preg_match('/^((?P<scheme>[^:\/?#]+):)?(\/\/(?P<authority>[^\/?#]*))?(?P<path>[^?#]*)(\?(?P<query>[^#]*))?(#(?P<fragment>.*))?$/', $iri, $match)) {
330 if ($match[1] === '') {
331 $match['scheme'] = null;
333 if (!isset($match[3]) || $match[3] === '') {
334 $match['authority'] = null;
336 if (!isset($match[5])) {
337 $match['path'] = '';
339 if (!isset($match[6]) || $match[6] === '') {
340 $match['query'] = null;
342 if (!isset($match[8]) || $match[8] === '') {
343 $match['fragment'] = null;
345 return $match;
528 * @param array $match PCRE match
531 protected function remove_iunreserved_percent_encoded($match)
535 $bytes = explode('%', $match[0]);