| 33 |
.sp |
.sp |
| 34 |
The options are: |
The options are: |
| 35 |
.sp |
.sp |
| 36 |
PCRE_ANCHORED Match only at the first position |
PCRE_ANCHORED Match only at the first position |
| 37 |
PCRE_BSR_ANYCRLF \eR matches only CR, LF, or CRLF |
PCRE_BSR_ANYCRLF \eR matches only CR, LF, or CRLF |
| 38 |
PCRE_BSR_UNICODE \eR matches all Unicode line endings |
PCRE_BSR_UNICODE \eR matches all Unicode line endings |
| 39 |
PCRE_NEWLINE_ANY Recognize any Unicode newline sequence |
PCRE_NEWLINE_ANY Recognize any Unicode newline sequence |
| 40 |
PCRE_NEWLINE_ANYCRLF Recognize CR, LF, and CRLF as newline sequences |
PCRE_NEWLINE_ANYCRLF Recognize CR, LF, & CRLF as newline sequences |
| 41 |
PCRE_NEWLINE_CR Set CR as the newline sequence |
PCRE_NEWLINE_CR Recognize CR as the only newline sequence |
| 42 |
PCRE_NEWLINE_CRLF Set CRLF as the newline sequence |
PCRE_NEWLINE_CRLF Recognize CRLF as the only newline sequence |
| 43 |
PCRE_NEWLINE_LF Set LF as the newline sequence |
PCRE_NEWLINE_LF Recognize LF as the only newline sequence |
| 44 |
PCRE_NOTBOL Subject is not the beginning of a line |
PCRE_NOTBOL Subject string is not the beginning of a line |
| 45 |
PCRE_NOTEOL Subject is not the end of a line |
PCRE_NOTEOL Subject string is not the end of a line |
| 46 |
PCRE_NOTEMPTY An empty string is not a valid match |
PCRE_NOTEMPTY An empty string is not a valid match |
| 47 |
PCRE_NO_START_OPTIMIZE Do not do "start-match" optimizations |
PCRE_NOTEMPTY_ATSTART An empty string at the start of the subject |
| 48 |
PCRE_NO_UTF8_CHECK Do not check the subject for UTF-8 |
is not a valid match |
| 49 |
validity (only relevant if PCRE_UTF8 |
PCRE_NO_START_OPTIMIZE Do not do "start-match" optimizations |
| 50 |
was set at compile time) |
PCRE_NO_UTF8_CHECK Do not check the subject for UTF-8 |
| 51 |
PCRE_PARTIAL ) Return PCRE_ERROR_PARTIAL for a partial match |
validity (only relevant if PCRE_UTF8 |
| 52 |
PCRE_PARTIAL_SOFT ) if no full matches are found |
was set at compile time) |
| 53 |
PCRE_PARTIAL_HARD Return PCRE_ERROR_PARTIAL for a partial match |
PCRE_PARTIAL ) Return PCRE_ERROR_PARTIAL for a partial |
| 54 |
even if there is a full match as well |
PCRE_PARTIAL_SOFT ) match if no full matches are found |
| 55 |
|
PCRE_PARTIAL_HARD Return PCRE_ERROR_PARTIAL for a partial match |
| 56 |
|
if that is found before a full match |
| 57 |
.sp |
.sp |
| 58 |
For details of partial matching, see the |
For details of partial matching, see the |
| 59 |
.\" HREF |
.\" HREF |
| 61 |
.\" |
.\" |
| 62 |
page. A \fBpcre_extra\fP structure contains the following fields: |
page. A \fBpcre_extra\fP structure contains the following fields: |
| 63 |
.sp |
.sp |
| 64 |
\fIflags\fP Bits indicating which fields are set |
\fIflags\fP Bits indicating which fields are set |
| 65 |
\fIstudy_data\fP Opaque data from \fBpcre_study()\fP |
\fIstudy_data\fP Opaque data from \fBpcre_study()\fP |
| 66 |
\fImatch_limit\fP Limit on internal resource use |
\fImatch_limit\fP Limit on internal resource use |
| 67 |
\fImatch_limit_recursion\fP Limit on internal recursion depth |
\fImatch_limit_recursion\fP Limit on internal recursion depth |
| 68 |
\fIcallout_data\fP Opaque data passed back to callouts |
\fIcallout_data\fP Opaque data passed back to callouts |
| 69 |
\fItables\fP Points to character tables or is NULL |
\fItables\fP Points to character tables or is NULL |
| 70 |
|
\fImark\fP For passing back a *MARK pointer |
| 71 |
|
\fIexecutable_jit\fP Opaque data from JIT compilation |
| 72 |
.sp |
.sp |
| 73 |
The flag bits are PCRE_EXTRA_STUDY_DATA, PCRE_EXTRA_MATCH_LIMIT, |
The flag bits are PCRE_EXTRA_STUDY_DATA, PCRE_EXTRA_MATCH_LIMIT, |
| 74 |
PCRE_EXTRA_MATCH_LIMIT_RECURSION, PCRE_EXTRA_CALLOUT_DATA, and |
PCRE_EXTRA_MATCH_LIMIT_RECURSION, PCRE_EXTRA_CALLOUT_DATA, |
| 75 |
PCRE_EXTRA_TABLES. |
PCRE_EXTRA_TABLES, PCRE_EXTRA_MARK and PCRE_EXTRA_EXECUTABLE_JIT. |
| 76 |
.P |
.P |
| 77 |
There is a complete description of the PCRE native API in the |
There is a complete description of the PCRE native API in the |
| 78 |
.\" HREF |
.\" HREF |