Lines Matching refs:line
29 foreach ($lines as $line) {
32 $line = preg_replace('/\\|.*style=\\".*\\"/U', "",$line);
34 $line = preg_replace("(style=\".*\")","",$line);
36 $line = preg_replace("/<div.*>(.*)<\/div>/U","$1",$line);
38 $line = preg_replace("/\|(.*)\n\n(.*)\n/","|$1 $2\n",$line);
40 $line = preg_replace("/\n \* /U"," ",$line);
41 $line = preg_replace("/ \* /U"," ",$line);
43 if (! strpos($line,'!') && $count == 1) {
44 $line = preg_replace("/\|/","!",$line)."\n\n";
51 $line = trim(preg_replace('/\s+!/', ' ^', $line));
53 $line = strrev(preg_replace("/(.*\^)/U", '^ $1', strrev($line), 1));
55 $line = preg_replace("/\|(.*)\n\n/","|$1\n",$line);
57 $line = preg_replace("/\n\n/","NEWLINE",$line);
59 $line = trim(preg_replace('/\|(.*)\s+/', '|$1', $line));
61 $line = preg_replace("/NEWLINENEWLINE/","\n",$line);
63 $line = preg_replace("/NEWLINE/","|\n",$line);
65 $line = $line." |\n";
67 $line = $line."\n";
71 $line = preg_replace("/=====(.*)=====/U","**$1**",$line);
72 $line = preg_replace("/====(.*)====/U","**$1**",$line);
73 $line = preg_replace("/===(.*)===/U","**$1**",$line);
74 $line = preg_replace("/==(.*)==/U","**$1**",$line);
75 $new_table = $new_table.$line;