/[pcre]/code/trunk/doc/pcreposix.3
ViewVC logotype

Diff of /code/trunk/doc/pcreposix.3

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 48 by nigel, Sat Feb 24 21:39:21 2007 UTC revision 49 by nigel, Sat Feb 24 21:39:33 2007 UTC
# Line 77  to the native function. Line 77  to the native function.
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
# Line 138  Cambridge CB2 3QG, England. Line 146  Cambridge CB2 3QG, England.
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.

Legend:
Removed from v.48  
changed lines
  Added in v.49

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12