Lines Matching +refs:text +refs:line
149 $line = trim($lines[$i]);
150 if($line[0] == '@') continue; // comment
151 if($line[0] == '*') continue; // no mistake in this word
152 if($line[0] == '+') continue; // root of word was found
153 if($line[0] == '?') continue; // word was guessed
154 if(empty($line)){
160 if(preg_match('/^& ([^ ]+) (\d+) (\d+): (.*)/',$line,$match)){
165 }elseif(preg_match('/^# ([^ ]+) (\d+)/',$line,$match)){
174 print "Line $i:".$line;
243 $text = $_POST['data'];
246 $text = preg_replace("/(\r\n|\n|\r)/", ' ', $text);
247 $text = preg_replace("=<br */?>=i", "\n", $text);
250 $text = strip_tags($text);
253 $text = preg_replace('/ /',' ',$text);
254 $text = preg_replace('/\xC2\xA0/',' ',$text);
257 $text = unhtmlspecialchars($text);
262 $text = str_replace('&','&',$text);
264 $text = utf8_tohtml($text);
268 print $text;