Lines Matching refs:regexp
37 $regexp = ''; // This helps debugging: showing what is the REAL string being processed
41 $regexp = '/<link[^>]*rel=["\']stylesheet["\'][^>]*href=["\']([^>"\']*)["\'].*?>/si';
42 $x = preg_match_all($regexp,$html,$cxt);
48 $regexp = '/<link[^>]*href=["\']([^>"\']*)["\'][^>]*?rel=["\']stylesheet["\'].*?>/si';
49 $x = preg_match_all($regexp,$html,$cxt);
56 //$regexp = '/@import url\([\'\"]{0,1}([^\)]*?\.css)[\'\"]{0,1}\)/si';
57 $regexp = '/@import url\([\'\"]{0,1}([^\)]*?\.css(\?\S+)?)[\'\"]{0,1}\)/si';
58 $x = preg_match_all($regexp,$html,$cxt);
65 //$regexp = '/@import [\'\"]{0,1}([^;]*?\.css)[\'\"]{0,1}/si';
66 $regexp = '/@import [\'\"]{0,1}([^;]*?\.css(\?\S+)?)[\'\"]{0,1}/si';
67 $x = preg_match_all($regexp,$html,$cxt);
120 $regexp = '/<style.*?>(.*?)<\/style>/si';
121 $match = preg_match_all($regexp,$html,$CSSblock);
309 $regexp = '/<style.*?>(.*?)<\/style>/si'; // it can be <style> or <style type="txt/css">
310 $html = preg_replace($regexp,'',$html);