/[pcre]/code/trunk/doc/html/pcresample.html
ViewVC logotype

Diff of /code/trunk/doc/html/pcresample.html

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

revision 868 by ph10, Wed Nov 24 17:39:25 2010 UTC revision 869 by ph10, Sat Jan 14 11:16:23 2012 UTC
# Line 24  documentation. If you do not have a copy Line 24  documentation. If you do not have a copy
24  this listing to re-create <i>pcredemo.c</i>.  this listing to re-create <i>pcredemo.c</i>.
25  </P>  </P>
26  <P>  <P>
27  The program compiles the regular expression that is its first argument, and  The demonstration program, which uses the original PCRE 8-bit library, compiles
28  matches it against the subject string in its second argument. No PCRE options  the regular expression that is its first argument, and matches it against the
29  are set, and default character tables are used. If matching succeeds, the  subject string in its second argument. No PCRE options are set, and default
30  program outputs the portion of the subject that matched, together with the  character tables are used. If matching succeeds, the program outputs the
31  contents of any captured substrings.  portion of the subject that matched, together with the contents of any captured
32    substrings.
33  </P>  </P>
34  <P>  <P>
35  If the -g option is given on the command line, the program then goes on to  If the -g option is given on the command line, the program then goes on to
# Line 65  tests like this: Line 66  tests like this:
66  </pre>  </pre>
67  Note that there is a much more comprehensive test program, called  Note that there is a much more comprehensive test program, called
68  <a href="pcretest.html"><b>pcretest</b>,</a>  <a href="pcretest.html"><b>pcretest</b>,</a>
69  which supports many more facilities for testing regular expressions and the  which supports many more facilities for testing regular expressions and both
70  PCRE library. The  PCRE libraries. The
71  <a href="pcredemo.html"><b>pcredemo</b></a>  <a href="pcredemo.html"><b>pcredemo</b></a>
72  program is provided as a simple coding example.  program is provided as a simple coding example.
73  </P>  </P>
# Line 100  Cambridge CB2 3QH, England. Line 101  Cambridge CB2 3QH, England.
101  REVISION  REVISION
102  </b><br>  </b><br>
103  <P>  <P>
104  Last updated: 17 November 2010  Last updated: 10 January 2012
105  <br>  <br>
106  Copyright &copy; 1997-2010 University of Cambridge.  Copyright &copy; 1997-2012 University of Cambridge.
107  <br>  <br>
108  <p>  <p>
109  Return to the <a href="index.html">PCRE index page</a>.  Return to the <a href="index.html">PCRE index page</a>.

Legend:
Removed from v.868  
changed lines
  Added in v.869

  ViewVC Help
Powered by ViewVC 1.1.5