Lines Matching refs:matches
556 $matches = array();
561 elseif ( preg_match('#^'.$opts['newns'].':(.*:)$#', $tns, $matches) ) {
563 $this->_pm_updatelinks($this->text, array($lnk => '.:'.$matches[1].':'.$tname));
581 $matches = array();
586 elseif ( preg_match('#^'.$opts['newns'].':(.*:)$#', $tns, $matches) ) {
588 $this->_pm_updatemedialinks($this->text, $lnk, '.:'.$matches[1].':'.$tname );
654 $matches = array();
660 elseif ( preg_match('#^'.$bns.':(.*)$#', $opts['newns'], $matches) ) {
661 $replacementNamespace = '.:'.$matches[1].':';
669 $matches = array();
680 if ( preg_match('#^'.$bns.':(.*)$#', $opts['ns'], $matches) ) {
683 …$oid['.:'.$matches[1].':'.$link] = $replacementNamespace.(($cleanname == cleanID($link)) ? $link :…
684 …$oid['.'.$matches[1].':'.$link] = $replacementNamespace.(($cleanname == cleanID($link)) ? $link : …
687 … if ( preg_match('#^'.$opts['ns'].':(.*)$#', $bns , $matches) && $opts['page_ns'] == 'page' ) {
774 preg_match_all('#\[\[(.+?)\]\]#si', $text, $matches, PREG_SET_ORDER);
775 foreach($matches as $match) {
814 preg_match_all('#{{(.[^>]+?)}}#si', $text, $matches, PREG_SET_ORDER);
815 foreach($matches as $match) {
936 preg_match_all('#\[\[(.+?)\]\]#si', $text, $matches, PREG_SET_ORDER);
937 foreach($matches as $match) {