Lines Matching refs:matches
77 if(preg_match("/<top>([\w\:]+)\<\/top\>/m",$match,$matches)) {
78 $id = $matches[1];
84 if(preg_match("/<bottom>([\w\:]+)\<\/bottom\>/m",$match,$matches)) {
85 $id = $matches[1];
124 if(preg_match('/^\{\{([\w\:]+)\}\}$/',$xhtml,$matches)) {
125 $html = p_wiki_xhtml($matches[1]);
150 function($matches){
151 if($matches[1] == '/'){
153 if($matches[2] <= 3){
158 if($matches[2] <= 4){
159 if($matches[2] == 1) {
162 else if($matches[2] == 2) {
165 else if($matches[2] == 3) {
168 else if($matches[2] == 4) {
180 function($matches) {
183 $matches[1] = str_replace($replace, $replacements,$matches[1]);
184 $matches[1] = preg_replace("/\<tr\s+class=\"row\d\">/","",$matches[1]);
185 …$matches[1] = preg_replace(array("/\<tr\s+class=\"row\d\">/","/col\d+/"),array("",'anno_col'),$mat…
186 … $matches[1] = preg_replace('/\"anno_col\"\s+colspan=\"(\d)\"/',"anno_colspan_$1",$matches[1]);
187 $matches[1] = preg_replace("/span_h\s+class=\"/","span class=\"theader ",$matches[1]);
188 $matches[1] = str_replace('/span_h','/span',$matches[1]);
189 return'<br>' . $matches[1] .'<br />';
194 function($matches) {
195 …$matches[0] = preg_replace("/\<li\s+class=\"level(\d).*?\"\>/","<span class='anno_li_$1'> </…
196 $matches[0] = preg_replace('/\<div\s+class.*?li\">/',"",$matches[0]);
197 $matches[0] = str_replace('</div>','<br>',$matches[0]);
198 return $matches[0] ."\nEOL";
206 function($matches) {
223 $_list = explode("\n", $matches[2]);