| 18 |
string. The logic is a little bit tricky because of the possibility of matching |
string. The logic is a little bit tricky because of the possibility of matching |
| 19 |
an empty string. Comments in the code explain what is going on. |
an empty string. Comments in the code explain what is going on. |
| 20 |
.P |
.P |
| 21 |
If PCRE is installed in the standard include and library directories for your |
The demonstration program is automatically built if you use "./configure;make" |
| 22 |
system, you should be able to compile the demonstration program using this |
to build PCRE. Otherwise, if PCRE is installed in the standard include and |
| 23 |
command: |
library directories for your system, you should be able to compile the |
| 24 |
|
demonstration program using this command: |
| 25 |
.sp |
.sp |
| 26 |
gcc -o pcredemo pcredemo.c -lpcre |
gcc -o pcredemo pcredemo.c -lpcre |
| 27 |
.sp |
.sp |
| 76 |
.rs |
.rs |
| 77 |
.sp |
.sp |
| 78 |
.nf |
.nf |
| 79 |
Last updated: 06 March 2007 |
Last updated: 13 June 2007 |
| 80 |
Copyright (c) 1997-2007 University of Cambridge. |
Copyright (c) 1997-2007 University of Cambridge. |
| 81 |
.fi |
.fi |