406 |
.P |
.P |
407 |
The \fIoptions\fP argument contains various bit settings that affect the |
The \fIoptions\fP argument contains various bit settings that affect the |
408 |
compilation. It should be zero if no options are required. The available |
compilation. It should be zero if no options are required. The available |
409 |
options are described below. Some of them, in particular, those that are |
options are described below. Some of them (in particular, those that are |
410 |
compatible with Perl, can also be set and unset from within the pattern (see |
compatible with Perl, but also some others) can also be set and unset from |
411 |
the detailed description in the |
within the pattern (see the detailed description in the |
412 |
.\" HREF |
.\" HREF |
413 |
\fBpcrepattern\fP |
\fBpcrepattern\fP |
414 |
.\" |
.\" |
415 |
documentation). For these options, the contents of the \fIoptions\fP argument |
documentation). For those options that can be different in different parts of |
416 |
specifies their initial settings at the start of compilation and execution. The |
the pattern, the contents of the \fIoptions\fP argument specifies their initial |
417 |
PCRE_ANCHORED and PCRE_NEWLINE_\fIxxx\fP options can be set at the time of |
settings at the start of compilation and execution. The PCRE_ANCHORED and |
418 |
matching as well as at compile time. |
PCRE_NEWLINE_\fIxxx\fP options can be set at the time of matching as well as at |
419 |
|
compile time. |
420 |
.P |
.P |
421 |
If \fIerrptr\fP is NULL, \fBpcre_compile()\fP returns NULL immediately. |
If \fIerrptr\fP is NULL, \fBpcre_compile()\fP returns NULL immediately. |
422 |
Otherwise, if compilation of a pattern fails, \fBpcre_compile()\fP returns |
Otherwise, if compilation of a pattern fails, \fBpcre_compile()\fP returns |
1996 |
.rs |
.rs |
1997 |
.sp |
.sp |
1998 |
.nf |
.nf |
1999 |
Last updated: 17 March 2009 |
Last updated: 11 April 2009 |
2000 |
Copyright (c) 1997-2009 University of Cambridge. |
Copyright (c) 1997-2009 University of Cambridge. |
2001 |
.fi |
.fi |