| 1 |
.TH PCRE 3 |
.TH PCRE_STUDY 3 |
| 2 |
.SH NAME |
.SH NAME |
| 3 |
PCRE - Perl-compatible regular expressions |
PCRE - Perl-compatible regular expressions |
| 4 |
.SH SYNOPSIS |
.SH SYNOPSIS |
| 7 |
.B #include <pcre.h> |
.B #include <pcre.h> |
| 8 |
.PP |
.PP |
| 9 |
.SM |
.SM |
|
.br |
|
| 10 |
.B pcre_extra *pcre_study(const pcre *\fIcode\fP, int \fIoptions\fP, |
.B pcre_extra *pcre_study(const pcre *\fIcode\fP, int \fIoptions\fP, |
| 11 |
.ti +5n |
.ti +5n |
| 12 |
.B const char **\fIerrptr\fP); |
.B const char **\fIerrptr\fP); |
| 22 |
\fIerrptr\fP Where to put an error message |
\fIerrptr\fP Where to put an error message |
| 23 |
.sp |
.sp |
| 24 |
If the function succeeds, it returns a value that can be passed to |
If the function succeeds, it returns a value that can be passed to |
| 25 |
\fBpcre_exec()\fP via its \fIextra\fP argument. |
\fBpcre_exec()\fP or \fBpcre_dfa_exec()\fP via their \fIextra\fP arguments. |
| 26 |
.P |
.P |
| 27 |
If the function returns NULL, either it could not find any additional |
If the function returns NULL, either it could not find any additional |
| 28 |
information, or there was an error. You can tell the difference by looking at |
information, or there was an error. You can tell the difference by looking at |
| 29 |
the error value. It is NULL in first case. |
the error value. It is NULL in first case. |
| 30 |
.P |
.P |
| 31 |
There are currently no options defined; the value of the second argument should |
The only option is PCRE_STUDY_JIT_COMPILE. It requests just-in-time compilation |
| 32 |
always be zero. |
if possible. If PCRE has been compiled without JIT support, this option is |
| 33 |
|
ignored. See the |
| 34 |
|
.\" HREF |
| 35 |
|
\fBpcrejit\fP |
| 36 |
|
.\" |
| 37 |
|
page for further details. |
| 38 |
.P |
.P |
| 39 |
There is a complete description of the PCRE native API in the |
There is a complete description of the PCRE native API in the |
| 40 |
.\" HREF |
.\" HREF |