Lines Matching refs:match
330 if (preg_match('/^((?P<scheme>[^:\/?#]+):)?(\/\/(?P<authority>[^\/?#]*))?(?P<path>[^?#]*)(\?(?P<query>[^#]*))?(#(?P<fragment>.*))?$/', $iri, $match)) {
331 if ($match[1] === '') {
332 $match['scheme'] = null;
334 if (!isset($match[3]) || $match[3] === '') {
335 $match['authority'] = null;
337 if (!isset($match[5])) {
338 $match['path'] = '';
340 if (!isset($match[6]) || $match[6] === '') {
341 $match['query'] = null;
343 if (!isset($match[8]) || $match[8] === '') {
344 $match['fragment'] = null;
346 return $match;
529 * @param array $match PCRE match
532 protected function remove_iunreserved_percent_encoded($match)
536 $bytes = explode('%', $match[0]);