/[pcre]/code/trunk/132html
ViewVC logotype

Diff of /code/trunk/132html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 429 by ph10, Tue Sep 1 16:10:16 2009 UTC revision 461 by ph10, Mon Oct 5 10:59:35 2009 UTC
# Line 231  while (<STDIN>) Line 231  while (<STDIN>)
231        $_ = "$one $two";        $_ = "$one $two";
232        redo;            # Process the joined lines        redo;            # Process the joined lines
233        }        }
234    
235      # .EX/.EE are used in the pcredemo page to bracket the entire program,      # .EX/.EE are used in the pcredemo page to bracket the entire program,
236      # which is unmodified except for turning backslash into "\e".      # which is unmodified except for turning backslash into "\e".
237    
238      elsif (/^\.EX\s*$/)      elsif (/^\.EX\s*$/)
239        {        {
240        print TEMP "<PRE>\n";        print TEMP "<PRE>\n";
241        while (<STDIN>)        while (<STDIN>)
242          {          {
243          last if /^\.EE\s*$/;          last if /^\.EE\s*$/;
244          s/\\e/\\/g;          s/\\e/\\/g;
245          s/&/&amp;/g;          s/&/&amp;/g;
246          s/</&lt;/g;          s/</&lt;/g;
247          s/>/&gt;/g;          s/>/&gt;/g;
248          print TEMP;          print TEMP;
249          }          }
250        }        }
251    
252      # Ignore anything not recognized      # Ignore anything not recognized
253    

Legend:
Removed from v.429  
changed lines
  Added in v.461

  ViewVC Help
Powered by ViewVC 1.1.5