Lines Matching refs:m

2     preg_match_all('/<style[^>]*media=["\']([^"\'>]*)["\'].*?<\/style>/is',$html,$m);
3 for($i=0; $i<count($m[0]); $i++) {
4 …mpdf->CSSselectMedia && !preg_match('/('.trim($this->mpdf->CSSselectMedia).'|all)/i',$m[1][$i])) {
5 $html = str_replace($m[0][$i],'',$html);
8 preg_match_all('/<link[^>]*media=["\']([^"\'>]*)["\'].*?>/is',$html,$m);
9 for($i=0; $i<count($m[0]); $i++) {
10 …mpdf->CSSselectMedia && !preg_match('/('.trim($this->mpdf->CSSselectMedia).'|all)/i',$m[1][$i])) {
11 $html = str_replace($m[0][$i],'',$html);
21 preg_match_all('/<style.*?>(.*?)<\/style>/si',$html,$m);
22 if (count($m[1])) {
23 for($i=0;$i<count($m[1]);$i++) {
25 $sub = preg_replace('/(<\!\-\-|\-\->)/s',' ',$m[1][$i]);
27 $html = str_replace('>'.$m[1][$i].'</style>', $sub, $html);
142 preg_match_all('/@media(.*?)\{(([^\{\}]*\{[^\{\}]*\})+)\s*\}/is',$CSSstr,$m);
143 for($i=0; $i<count($m[0]); $i++) {
144 …pdf->CSSselectMedia && !preg_match('/('.trim($this->mpdf->CSSselectMedia).'|all)/is',$m[1][$i])) {
145 $CSSstr = str_replace($m[0][$i], '', $CSSstr);
148 $CSSstr = str_replace($m[0][$i],' '.$m[2][$i].' ',$CSSstr);
174 preg_match_all( '/url\(\"(.*?)\"\)/', $CSSstr, $m);
175 for($i = 0; $i < count($m[1]) ; $i++) {
176 $tmp = str_replace(array('(',')',';'),array('%28','%29',$tempmarker),$m[1][$i]);
177 $CSSstr = preg_replace('/'.preg_quote($m[0][$i],'/').'/', 'url(\''.$tmp.'\')', $CSSstr);
179 preg_match_all( '/url\(\'(.*?)\'\)/', $CSSstr, $m);
180 for($i = 0; $i < count($m[1]) ; $i++) {
181 $tmp = str_replace(array('(',')',';'),array('%28','%29',$tempmarker),$m[1][$i]);
182 $CSSstr = preg_replace('/'.preg_quote($m[0][$i],'/').'/', 'url(\''.$tmp.'\')', $CSSstr);
184 preg_match_all( '/url\(([^\'\"].*?[^\'\"])\)/', $CSSstr, $m);
185 for($i = 0; $i < count($m[1]) ; $i++) {
186 $tmp = str_replace(array('(',')',';'),array('%28','%29',$tempmarker),$m[1][$i]);
187 $CSSstr = preg_replace('/'.preg_quote($m[0][$i],'/').'/', 'url(\''.$tmp.'\')', $CSSstr);
226 …(preg_match('/NTH-CHILD\((\s*(([\-+]?\d*)N(\s*[\-+]\s*\d+)?|[\-+]?\d+|ODD|EVEN)\s*)\)/',$tg,$m) ) {
227 … $tg = preg_replace('/NTH-CHILD\(.*\)/', 'NTH-CHILD('.str_replace(' ','',$m[1]).')', $tg);
240 else if ($level==2 && preg_match('/^[:](.*)$/',$t2,$m)) {
241 $tag = $t.'>>PSEUDO>>'.$m[1];
242 …if ($m[1]=='LEFT' || $m[1]=='RIGHT') { $pageselectors = true; } // used to turn on $this->mpdf-…
245 else if ($level==3 && preg_match('/^[:](.*)$/',$t3,$m)) {
246 $tag = $t.'>>NAMED>>'.$t2.'>>PSEUDO>>'.$m[1];
247 …if ($m[1]=='LEFT' || $m[1]=='RIGHT') { $pageselectors = true; } // used to turn on $this->mpdf-…
257 if (preg_match('/^[.](.*)$/',$t,$m)) { $tag = 'CLASS>>'.$m[1]; }
258 else if (preg_match('/^[#](.*)$/',$t,$m)) { $tag = 'ID>>'.$m[1]; }
259 …h('/^\[LANG=[\'\"]{0,1}([A-Z\-]{2,11})[\'\"]{0,1}\]$/',$t,$m)) { $tag = 'LANG>>'.strtolower($m[1])…
260 …h('/^:LANG\([\'\"]{0,1}([A-Z\-]{2,11})[\'\"]{0,1}\)$/',$t,$m)) { $tag = 'LANG>>'.strtolower($m[1])…
261 …eg_match('/^('.$this->mpdf->allowedCSStags.')[.](.*)$/',$t,$m)) { $tag = $m[1].'>>CLASS>>'.$m[2]; }
262 …->mpdf->allowedCSStags.')\s*:NTH-CHILD\((.*)\)$/',$t,$m)) { $tag = $m[1].'>>SELECTORNTHCHILD>>'.$m
263 …(preg_match('/^('.$this->mpdf->allowedCSStags.')[#](.*)$/',$t,$m)) { $tag = $m[1].'>>ID>>'.$m[2]; }
264 …)\[LANG=[\'\"]{0,1}([A-Z\-]{2,11})[\'\"]{0,1}\]$/',$t,$m)) { $tag = $m[1].'>>LANG>>'.strtolower($m
265 …):LANG\([\'\"]{0,1}([A-Z\-]{2,11})[\'\"]{0,1}\)$/',$t,$m)) { $tag = $m[1].'>>LANG>>'.strtolower($m
278 if (preg_match('/^[.](.*)$/',$t,$m)) { $tag = 'CLASS>>'.$m[1]; }
279 else if (preg_match('/^[#](.*)$/',$t,$m)) { $tag = 'ID>>'.$m[1]; }
280 …h('/^\[LANG=[\'\"]{0,1}([A-Z\-]{2,11})[\'\"]{0,1}\]$/',$t,$m)) { $tag = 'LANG>>'.strtolower($m[1])…
281 …h('/^:LANG\([\'\"]{0,1}([A-Z\-]{2,11})[\'\"]{0,1}\)$/',$t,$m)) { $tag = 'LANG>>'.strtolower($m[1])…
282 …eg_match('/^('.$this->mpdf->allowedCSStags.')[.](.*)$/',$t,$m)) { $tag = $m[1].'>>CLASS>>'.$m[2]; }
283 …->mpdf->allowedCSStags.')\s*:NTH-CHILD\((.*)\)$/',$t,$m)) { $tag = $m[1].'>>SELECTORNTHCHILD>>'.$m
284 …(preg_match('/^('.$this->mpdf->allowedCSStags.')[#](.*)$/',$t,$m)) { $tag = $m[1].'>>ID>>'.$m[2]; }
285 …)\[LANG=[\'\"]{0,1}([A-Z\-]{2,11})[\'\"]{0,1}\]$/',$t,$m)) { $tag = $m[1].'>>LANG>>'.strtolower($m
286 …):LANG\([\'\"]{0,1}([A-Z\-]{2,11})[\'\"]{0,1}\)$/',$t,$m)) { $tag = $m[1].'>>LANG>>'.strtolower($m