| 132 |
and PCRE_MINOR to contain the major and minor release numbers for the library. |
and PCRE_MINOR to contain the major and minor release numbers for the library. |
| 133 |
Applications can use these to include support for different releases of PCRE. |
Applications can use these to include support for different releases of PCRE. |
| 134 |
.P |
.P |
| 135 |
|
In a Windows environment, if you want to statically link an application program |
| 136 |
|
against a non-dll \fBpcre.a\fP file, you must define PCRE_STATIC before |
| 137 |
|
including \fBpcre.h\fP, because otherwise the \fBpcre_malloc()\fP and |
| 138 |
|
\fBpcre_free()\fP exported functions will be declared |
| 139 |
|
\fB__declspec(dllimport)\fP, with unwanted results. |
| 140 |
|
.P |
| 141 |
The functions \fBpcre_compile()\fP, \fBpcre_compile2()\fP, \fBpcre_study()\fP, |
The functions \fBpcre_compile()\fP, \fBpcre_compile2()\fP, \fBpcre_study()\fP, |
| 142 |
and \fBpcre_exec()\fP are used for compiling and matching regular expressions |
and \fBpcre_exec()\fP are used for compiling and matching regular expressions |
| 143 |
in a Perl-compatible manner. A sample program that demonstrates the simplest |
in a Perl-compatible manner. A sample program that demonstrates the simplest |
| 2127 |
.rs |
.rs |
| 2128 |
.sp |
.sp |
| 2129 |
.nf |
.nf |
| 2130 |
Last updated: 16 May 2010 |
Last updated: 26 May 2010 |
| 2131 |
Copyright (c) 1997-2010 University of Cambridge. |
Copyright (c) 1997-2010 University of Cambridge. |
| 2132 |
.fi |
.fi |