| 77 |
The PCRE_MULTILINE option is set when the expression is passed for compilation |
The PCRE_MULTILINE option is set when the expression is passed for compilation |
| 78 |
to the native function. |
to the native function. |
| 79 |
|
|
| 80 |
|
In the absence of these flags, no options are passed to the native function. |
| 81 |
|
This means the the regex is compiled with PCRE default semantics. In |
| 82 |
|
particular, the way it handles newline characters in the subject string is the |
| 83 |
|
Perl way, not the POSIX way. Note that setting PCRE_MULTILINE has only |
| 84 |
|
\fIsome\fR of the effects specified for REG_NEWLINE. It does not affect the way |
| 85 |
|
newlines are matched by . (they aren't) or a negative class such as [^a] (they |
| 86 |
|
are). |
| 87 |
|
|
| 88 |
The yield of \fBregcomp()\fR is zero on success, and non-zero otherwise. The |
The yield of \fBregcomp()\fR is zero on success, and non-zero otherwise. The |
| 89 |
\fIpreg\fR structure is filled in on success, and one member of the structure |
\fIpreg\fR structure is filled in on success, and one member of the structure |
| 90 |
is publicized: \fIre_nsub\fR contains the number of capturing subpatterns in |
is publicized: \fIre_nsub\fR contains the number of capturing subpatterns in |
| 146 |
.br |
.br |
| 147 |
Phone: +44 1223 334714 |
Phone: +44 1223 334714 |
| 148 |
|
|
| 149 |
Copyright (c) 1997-1999 University of Cambridge. |
Copyright (c) 1997-2000 University of Cambridge. |