| 1 |
.TH PCRE 3 |
.TH PCRE_EXEC 3 |
| 2 |
.SH NAME |
.SH NAME |
| 3 |
PCRE - Perl-compatible regular expressions |
PCRE - Perl-compatible regular expressions |
| 4 |
.SH SYNOPSIS |
.SH SYNOPSIS |
| 18 |
.rs |
.rs |
| 19 |
.sp |
.sp |
| 20 |
This function matches a compiled regular expression against a given subject |
This function matches a compiled regular expression against a given subject |
| 21 |
string, and returns offsets to capturing subexpressions. Its arguments are: |
string, using a matching algorithm that is similar to Perl's. It returns |
| 22 |
|
offsets to captured substrings. Its arguments are: |
| 23 |
.sp |
.sp |
| 24 |
\fIcode\fP Points to the compiled pattern |
\fIcode\fP Points to the compiled pattern |
| 25 |
\fIextra\fP Points to an associated \fBpcre_extra\fP structure, |
\fIextra\fP Points to an associated \fBpcre_extra\fP structure, |
| 50 |
.sp |
.sp |
| 51 |
\fIflags\fP Bits indicating which fields are set |
\fIflags\fP Bits indicating which fields are set |
| 52 |
\fIstudy_data\fP Opaque data from \fBpcre_study()\fP |
\fIstudy_data\fP Opaque data from \fBpcre_study()\fP |
| 53 |
\fImatch_limit\fP Limit on internal recursion |
\fImatch_limit\fP Limit on internal resource use |
| 54 |
|
\fImatch_limit_recursion\fP Limit on internal recursion depth |
| 55 |
\fIcallout_data\fP Opaque data passed back to callouts |
\fIcallout_data\fP Opaque data passed back to callouts |
| 56 |
\fItables\fP Points to character tables or is NULL |
\fItables\fP Points to character tables or is NULL |
| 57 |
.sp |
.sp |
| 58 |
The flag bits are PCRE_EXTRA_STUDY_DATA, PCRE_EXTRA_MATCH_LIMIT, |
The flag bits are PCRE_EXTRA_STUDY_DATA, PCRE_EXTRA_MATCH_LIMIT, |
| 59 |
PCRE_EXTRA_CALLOUT_DATA, and PCRE_EXTRA_TABLES. |
PCRE_EXTRA_MATCH_LIMIT_RECURSION, PCRE_EXTRA_CALLOUT_DATA, and |
| 60 |
|
PCRE_EXTRA_TABLES. |
| 61 |
.P |
.P |
| 62 |
There is a complete description of the PCRE native API in the |
There is a complete description of the PCRE native API in the |
| 63 |
.\" HREF |
.\" HREF |