diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2009-09-01 16:10:16 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2009-09-01 16:10:16 +0000 |
commit | dbbbb5f823318e1665b0ae6fb2f7c12d71f66e84 (patch) | |
tree | 031067dfea13ed6f72701de1b45c97fec9e0c455 /132html | |
parent | 78dd3d00385e8c5f868d07b3fe21694299a183fe (diff) | |
download | pcre-dbbbb5f823318e1665b0ae6fb2f7c12d71f66e84.tar.gz |
Add pcredemo man page, containing a listing of pcredemo.c.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@429 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to '132html')
-rwxr-xr-x | 132html | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -231,6 +231,23 @@ while (<STDIN>) $_ = "$one $two"; redo; # Process the joined lines } + + # .EX/.EE are used in the pcredemo page to bracket the entire program, + # which is unmodified except for turning backslash into "\e". + + elsif (/^\.EX\s*$/) + { + print TEMP "<PRE>\n"; + while (<STDIN>) + { + last if /^\.EE\s*$/; + s/\\e/\\/g; + s/&/&/g; + s/</</g; + s/>/>/g; + print TEMP; + } + } # Ignore anything not recognized |