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 |
The demonstration program is automatically built if you use "./configure;make" |
If PCRE is installed in the standard include and library directories for your |
22 |
to build PCRE. Otherwise, if PCRE is installed in the standard include and |
system, you should be able to compile the demonstration program using this |
23 |
library directories for your system, you should be able to compile the |
command: |
|
demonstration program using this command: |
|
24 |
.sp |
.sp |
25 |
gcc -o pcredemo pcredemo.c -lpcre |
gcc -o pcredemo pcredemo.c -lpcre |
26 |
.sp |
.sp |
75 |
.rs |
.rs |
76 |
.sp |
.sp |
77 |
.nf |
.nf |
78 |
Last updated: 13 June 2007 |
Last updated: 23 January 2008 |
79 |
Copyright (c) 1997-2007 University of Cambridge. |
Copyright (c) 1997-2008 University of Cambridge. |
80 |
.fi |
.fi |