/[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 428 by ph10, Wed Jan 23 18:05:06 2008 UTC revision 429 by ph10, Tue Sep 1 16:10:16 2009 UTC
# Line 17  PCRE SAMPLE PROGRAM Line 17  PCRE SAMPLE PROGRAM
17  </b><br>  </b><br>
18  <P>  <P>
19  A simple, complete demonstration program, to get you started with using PCRE,  A simple, complete demonstration program, to get you started with using PCRE,
20  is supplied in the file <i>pcredemo.c</i> in the PCRE distribution.  is supplied in the file <i>pcredemo.c</i> in the PCRE distribution. A listing of
21    this program is given in the
22    <a href="pcredemo.html"><b>pcredemo</b></a>
23    documentation. If you do not have a copy of the PCRE distribution, you can save
24    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 program compiles the regular expression that is its first argument, and
# Line 55  this: Line 59  this:
59  Note that there is a much more comprehensive test program, called  Note that there is a much more comprehensive test program, called
60  <a href="pcretest.html"><b>pcretest</b>,</a>  <a href="pcretest.html"><b>pcretest</b>,</a>
61  which supports many more facilities for testing regular expressions and the  which supports many more facilities for testing regular expressions and the
62  PCRE library. The <b>pcredemo</b> program is provided as a simple coding  PCRE library. The
63  example.  <a href="pcredemo.html"><b>pcredemo</b></a>
64    program is provided as a simple coding example.
65  </P>  </P>
66  <P>  <P>
67  On some operating systems (e.g. Solaris), when PCRE is not installed in the  When you try to run
68  standard library directory, you may get an error like this when you try to run  <a href="pcredemo.html"><b>pcredemo</b></a>
69  <b>pcredemo</b>:  when PCRE is not installed in the standard library directory, you may get an
70    error like this on some operating systems (e.g. Solaris):
71  <pre>  <pre>
72    ld.so.1: a.out: fatal: libpcre.so.0: open failed: No such file or directory    ld.so.1: a.out: fatal: libpcre.so.0: open failed: No such file or directory
73  </pre>  </pre>
# Line 87  Cambridge CB2 3QH, England. Line 93  Cambridge CB2 3QH, England.
93  REVISION  REVISION
94  </b><br>  </b><br>
95  <P>  <P>
96  Last updated: 23 January 2008  Last updated: 01 September 2009
97  <br>  <br>
98  Copyright &copy; 1997-2008 University of Cambridge.  Copyright &copy; 1997-2009 University of Cambridge.
99  <br>  <br>
100  <p>  <p>
101  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.428  
changed lines
  Added in v.429

  ViewVC Help
Powered by ViewVC 1.1.5