107 |
to the native function. |
to the native function. |
108 |
</P> |
</P> |
109 |
<P> |
<P> |
110 |
|
In the absence of these flags, no options are passed to the native function. |
111 |
|
This means the the regex is compiled with PCRE default semantics. In |
112 |
|
particular, the way it handles newline characters in the subject string is the |
113 |
|
Perl way, not the POSIX way. Note that setting PCRE_MULTILINE has only |
114 |
|
<I>some</I> of the effects specified for REG_NEWLINE. It does not affect the way |
115 |
|
newlines are matched by . (they aren't) or a negative class such as [^a] (they |
116 |
|
are). |
117 |
|
</P> |
118 |
|
<P> |
119 |
The yield of <B>regcomp()</B> is zero on success, and non-zero otherwise. The |
The yield of <B>regcomp()</B> is zero on success, and non-zero otherwise. The |
120 |
<I>preg</I> structure is filled in on success, and one member of the structure |
<I>preg</I> structure is filled in on success, and one member of the structure |
121 |
is publicized: <I>re_nsub</I> contains the number of capturing subpatterns in |
is publicized: <I>re_nsub</I> contains the number of capturing subpatterns in |
188 |
Phone: +44 1223 334714 |
Phone: +44 1223 334714 |
189 |
</P> |
</P> |
190 |
<P> |
<P> |
191 |
Copyright (c) 1997-1999 University of Cambridge. |
Copyright (c) 1997-2000 University of Cambridge. |