Lines Matching refs:preg_match
413 if( preg_match('#\.txt$#', $file) ) {
561 elseif ( preg_match('#^'.$opts['newns'].':(.*:)$#', $tns, $matches) ) {
586 elseif ( preg_match('#^'.$opts['newns'].':(.*:)$#', $tns, $matches) ) {
660 elseif ( preg_match('#^'.$bns.':(.*)$#', $opts['newns'], $matches) ) {
680 if ( preg_match('#^'.$bns.':(.*)$#', $opts['ns'], $matches) ) {
687 … if ( preg_match('#^'.$opts['ns'].':(.*)$#', $bns , $matches) && $opts['page_ns'] == 'page' ) {
777 if ( preg_match('/^#/', $match[1])) continue;
782 if(preg_match('#^\w+://#', $mid)) continue;
785 if(preg_match('#\w+>#', $mid)) continue;
787 if(preg_match('#^/#', $mid)) continue;
850 if(preg_match('/^\./',$file)) continue;
851 if(is_file($old_path.$file) and preg_match($regex,$file)) {
885 if(preg_match('/^\./',$file)) continue;
921 if(!preg_match('#\.txt$#', $file)) return true;
941 if(preg_match('#^\w+://#', $matchLink)) continue;
944 if(preg_match('#^/#', $matchLink)) continue;
946 if(preg_match('#\w+>#', $matchLink)) continue;